FIX: Allow different colormap name from registered name · matplotlib/matplotlib@4fbc57d · GitHub
Skip to content

Commit 4fbc57d

Browse files
committed
FIX: Allow different colormap name from registered name
When registering a colormap you can use a different name than the "cmap.name" attribute now. This will set the colormap based on the registered name rather than cmap.name
1 parent 63b9b04 commit 4fbc57d

2 files changed

Lines changed: 19 additions & 2 deletions

File tree

lib/matplotlib/pyplot.py

Lines changed: 6 additions & 2 deletions

lib/matplotlib/tests/test_colors.py

Lines changed: 13 additions & 0 deletions

0 commit comments

Comments
 (0)