diff --git a/cooltools/lib/plotting.py b/cooltools/lib/plotting.py index e8f1ac7..ceed7e5 100644 --- a/cooltools/lib/plotting.py +++ b/cooltools/lib/plotting.py @@ -100,8 +100,8 @@ def get_cmap(name): def _register_cmaps(): for name, pal in PALETTES.items(): - register_cmap(list_to_colormap(pal), name=name) - register_cmap(list_to_colormap(pal[::-1]), name=name + "_r") + register_cmap(cmap=list_to_colormap(pal), name=name) + register_cmap(cmap=list_to_colormap(pal[::-1]), name=name + "_r") _register_cmaps()