Skip to content

Commit

Permalink
fix small mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickscholz committed Nov 13, 2024
1 parent 94f3c44 commit 14e99d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tripyview/sub_colormap.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def colormap_c2c(cmin, cmax, cref, cnumb, cname, cstep=None, do_slog=False,

#___________________________________________________________________________
# if the cmap_arr is not already predifined from the outside
if cmap_arr is not None:
if cmap_arr is None:
if 'matplotlib' in cname:
dum, cstr = cname.rsplit('.')
if '_i' in cname: cstr, dum = cstr.rsplit('_i')
Expand Down

0 comments on commit 14e99d6

Please sign in to comment.