Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plot_objective_performance and plot_factor_performance depreciation errors #122

Open
erexer opened this issue Oct 22, 2024 · 2 comments
Open
Assignees

Comments

@erexer
Copy link
Collaborator

erexer commented Oct 22, 2024

plot_objective_performance and plot_factor_performance throw depreciation errors

msdbook/tests/test_fishery_dynamics.py::test_plot_objective_performance
/Users/lari627/msd_uncertainty_ebook/msdbook/fishery_dynamics.py:51: MatplotlibDeprecationWarning: The get_cmap function was deprecated in Matplotlib 3.7 and will be removed in 3.11. Use matplotlib.colormaps[name] or matplotlib.colormaps.get_cmap() or pyplot.get_cmap() instead.
cmap = plt.cm.get_cmap("Blues")

msdbook/tests/test_fishery_dynamics.py::test_plot_factor_performance
/Users/lari627/msd_uncertainty_ebook/msdbook/fishery_dynamics.py:134: MatplotlibDeprecationWarning: The get_cmap function was deprecated in Matplotlib 3.7 and will be removed in 3.11. Use matplotlib.colormaps[name] or matplotlib.colormaps.get_cmap() or pyplot.get_cmap() instead.
cmap = plt.cm.get_cmap("RdBu_r")
@Jaydon2005
Copy link
Contributor

Am I allowed to change fishery_dynamics.py file? since the errors are happening in there?

@erexer
Copy link
Collaborator Author

erexer commented Oct 23, 2024

Yep!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants