Skip to content

plot_objective_performance and plot_factor_performance depreciation errors #122

@erexer

Description

@erexer

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")

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions