MAINT: Adding an equals method to colormaps · matplotlib/matplotlib@f94d64d · GitHub
Skip to content

Commit f94d64d

Browse files
committed
MAINT: Adding an equals method to colormaps
This adds an __eq__ method to Colormap to test the lookup tables for equality.
1 parent cb21d7d commit f94d64d

2 files changed

Lines changed: 25 additions & 0 deletions

File tree

lib/matplotlib/colors.py

Lines changed: 10 additions & 0 deletions

lib/matplotlib/tests/test_colors.py

Lines changed: 15 additions & 0 deletions

0 commit comments

Comments
 (0)