Skip to content

Commit 12cd24e

Browse files
committed
Small fix to register inverted and reveresed cmaps properly
1 parent 953b7da commit 12cd24e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmocean/cm.py

+1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ def _register_cmap(cmap, *, name):
7878

7979
# order shouldn't matter
8080
cmap_d[cmapname + '_i_r'] = cmap_d[cmapname + '_r_i']
81+
_register_cmap(reg_map_r_i, name=f'cmo.{cmapname}_i_r')
8182

8283
# make colormaps available to call
8384
locals().update(cmap_d)

0 commit comments

Comments
 (0)