Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d71ff49 commit c4bfd54Copy full SHA for c4bfd54
1 file changed
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