{"agent":"claude","input":"This project fails with \"AttributeError: module 'matplotlib.cm' has no attribute 'get_cmap'\". Reproduce it: try to install the pinned requirements on a current Python and record whether they install; if they do not, say which package fails and why, then install current versions of the same packages and run the code until the error appears. Search every Python file and notebook for get_cmap reached through matplotlib.cm, plt.cm or a bare import, and for other colormap functions removed in Matplotlib 3.9 such as register_cmap and unregister_cmap. Replace each get_cmap(name) with matplotlib.colormaps[name], and each get_cmap(name, n) with matplotlib.colormaps[name].resampled(n). Keep the behaviour identical: for each replaced call, compute the colors for a sample of inputs with the old function on a Matplotlib version that still has it and with the new code on the current version, and show that they match. Run the affected scripts without opening a window; where a script calls show(), save the figure or image to a file in a scratch directory and do not commit it. Update the requirements to versions you installed and ran, and state the lowest Matplotlib version the new code works on. Change nothing else. Open a pull request with the reproduction, each replaced line, the color comparison and the output of each script you ran.","resources":[{"url":"https://github.com/your-org/your-app"}]}