We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 006aef5 commit 7a3c3f6Copy full SHA for 7a3c3f6
proplot/constructor.py
@@ -670,10 +670,8 @@ def _pop_modification(key):
670
# Merge the resulting colormaps
671
if len(cmaps) > 1: # more than one map and modify arbitrary properties
672
cmap = cmaps[0].append(*cmaps[1:], **kwargs)
673
- elif kwargs: # modify arbitrary properties
674
- cmap = cmaps[0].copy(**kwargs)
675
else:
676
- cmap = cmaps[0]
+ cmap = cmaps[0].copy(**kwargs)
677
678
# Modify the colormap
679
if discrete and isinstance(cmap, pcolors.ContinuousColormap): # noqa: E501
0 commit comments