Skip to content

Fix the problem that new matplotlib.cm does not have get_cmap.#5

Open
ljw20180420 wants to merge 4 commits into
open2c:mainfrom
ljw20180420:matplotlib_colormaps
Open

Fix the problem that new matplotlib.cm does not have get_cmap.#5
ljw20180420 wants to merge 4 commits into
open2c:mainfrom
ljw20180420:matplotlib_colormaps

Conversation

@ljw20180420

Copy link
Copy Markdown

In newer matplotlib, matplotlib.cm import get_cmap will fail in render.py. I fix this by from matplotlib import colormaps if an exception happens.

@ljw20180420 ljw20180420 reopened this Jul 21, 2026
Comment thread polychrom_hoomd/render.py
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

Successfully merging this pull request may close these issues.

2 participants