Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0586854

Browse files
authored
Merge pull request#29176 from meeseeksmachine/auto-backport-of-pr-29148-on-v3.9.x
Backport PR#29148 on branch v3.9.x (Don't fail on equal-but-differently-named cmaps in qt figureoptions.)
2 parents84f2ae2 +c4bfd54 commit0586854

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/matplotlib/backends/qt_editor/figureoptions.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def prepare_data(d, init):
149149
cmaps= [(cmap,name)forname,cmapinsorted(cm._colormaps.items())]
150150
forlabel,mappableinlabeled_mappables:
151151
cmap=mappable.get_cmap()
152-
ifcmapnotincm._colormaps.values():
152+
ifcmap.namenotincm._colormaps:
153153
cmaps= [(cmap,cmap.name),*cmaps]
154154
low,high=mappable.get_clim()
155155
mappabledata= [

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp