We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 84f2ae2 + c4bfd54 commit 0586854Copy full SHA for 0586854
lib/matplotlib/backends/qt_editor/figureoptions.py
@@ -149,7 +149,7 @@ def prepare_data(d, init):
149
cmaps = [(cmap, name) for name, cmap in sorted(cm._colormaps.items())]
150
for label, mappable in labeled_mappables:
151
cmap = mappable.get_cmap()
152
- if cmap not in cm._colormaps.values():
+ if cmap.name not in cm._colormaps:
153
cmaps = [(cmap, cmap.name), *cmaps]
154
low, high = mappable.get_clim()
155
mappabledata = [
0 commit comments