Skip to content

Commit

Permalink
Revert "fixed get_cmap dependency" (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
banesullivan authored Jan 28, 2024
1 parent 111b9ea commit 4c04307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion localtileserver/tiler/palettes.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def is_mpl_cmap(name: str):
try:
import matplotlib

matplotlib.cm.get_cmap(name)
matplotlib.colormaps.get_cmap(name)
return True
except ImportError: # pragma: no cover
logger.error("Install matplotlib for additional colormap choices.")
Expand Down

0 comments on commit 4c04307

Please sign in to comment.