Skip to content

Backport qt editor improvements #6718

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jul 10, 2016

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Jul 10, 2016

Backports #5342, #5469, #6346, #6347, #6366, #6372, #6383 and #6599 to 2.x. See discussion in #6383.

anntzer added 9 commits July 9, 2016 19:24
This patch allows the user to interactively set an image's colormap from the
axes and lines (and now images) parameters editor (in the Qt backend).

Colormaps are listed from those registered with matplotlib.cm.  Colorbars seem
to be handled properly.
The previous implementation was incorrect and would yield a double entry
in the cmap combobox.
Currently, `(cmin, cmax)` is swapped if `cmin > cmax` because it's not
easy to impose the constraint using formlayout.
@jenshnielsen jenshnielsen added this to the 2.0 (style change major release) milestone Jul 10, 2016
@tacaswell
Copy link
Member

This also needs the extensions to the qt mocking in the sphinx setup.

anntzer added 2 commits July 10, 2016 10:54
As far as I can tell, the only way the import of figureoptions could
fail is under PyQt 4.3 or earlier (QFormLayout was introduced in Qt
4.4).  PyQt 4.4 was released in 2008 and the oldest version still
downloadable on SourceForge seems to be 4.9, so that seems safe...

Also up the version requirement on PyQt.
@anntzer
Copy link
Contributor Author

anntzer commented Jul 10, 2016

Done.

@tacaswell tacaswell merged commit 16b18ea into matplotlib:v2.x Jul 10, 2016
@anntzer anntzer deleted the backport-qt-editor-improvements branch July 10, 2016 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants