Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Avoid duplicate cmap in image options. #6346
Conversation
mdboom
added the
needs_review
label
Apr 28, 2016
tacaswell
commented on the diff
Apr 28, 2016
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: |
anntzer
Contributor
|
tacaswell
added this to the
2.1 (next point release)
milestone
Apr 28, 2016
|
RE my comment; I do not have an opinion one way or the other, just curious why you picked this implementation. |
tacaswell
merged commit 6b45409
into matplotlib:master
Apr 28, 2016
tacaswell
removed the
needs_review
label
Apr 28, 2016
QuLogic
added the
GUI/Qt
label
May 2, 2016
This was referenced Jul 10, 2016
Merged
QuLogic
modified the milestone: 2.0 (style change major release), 2.1 (next point release)
Jul 10, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
anntzer commentedApr 28, 2016
The previous implementation (#5469) was incorrect and would yield a double entry
in the cmap combobox.