diff --git a/lib/matplotlib/backends/qt_editor/figureoptions.py b/lib/matplotlib/backends/qt_editor/figureoptions.py index a1b7b388bc33..6a485302f4e9 100644 --- a/lib/matplotlib/backends/qt_editor/figureoptions.py +++ b/lib/matplotlib/backends/qt_editor/figureoptions.py @@ -137,7 +137,7 @@ def prepare_data(d, init): for label in imagelabels: image = imagedict[label] cmap = image.get_cmap() - if cmap not in cm.cmap_d: + if cmap not in cm.cmap_d.values(): cmaps = [(cmap, cmap.name)] + cmaps imagedata = [ ('Label', label), pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy