Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
moonraker595 committed Jan 21, 2025
1 parent 1a4dd98 commit b89d73a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion test/images/test_colourmap_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,16 @@ def test_mapping_file_contains_all_colourmaps(self):
# Checking the mapping file contains all colourmaps available in Matplotlib
# From Matplotlib v3.9, they have introduced alias for common typos so
# excluding these.
alias = {"grey", "grey_r","gist_grey", "gist_grey_r", "gist_yerg", "gist_yerg_r", "Grays", "Grays_r"}
alias = {
"grey",
"grey_r",
"gist_grey",
"gist_grey_r",
"gist_yerg",
"gist_yerg_r",
"Grays",
"Grays_r",
}
for colourmap in plt.colormaps():
if colourmap in alias:
continue
Expand Down

0 comments on commit b89d73a

Please sign in to comment.