FS#41790 - [python-matplotlib] Saving plot from QT window yields error

Attached to Project: Community Packages
Opened by georg (fordprefect) - Tuesday, 02 September 2014, 12:06 GMT
Last edited by Felix Yan (felixonmars) - Tuesday, 21 October 2014, 07:12 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
After updating python-matplotlib to 1.4.0 (-1 or -2 makes no difference), i cannot save plots from the QT window displaying images.
The error i get is

Format "ps)')" is not supported.
Supported formats: eps, jpeg, jpg, pdf, pgf, png, ps, raw, rgba, svg, svgz, tif, tiff.

and i think, there is some typo involved. This happens for all formats I tried.

Installed packages and versions:
extra/pyqt4-common 4.11.1-1
extra/pyqt5-common 5.3.1-1
extra/python-pyqt4 4.11.1-1
extra/python-pyqt5 5.3.1-1
extra/python2-pyqt4 4.11.1-1
extra/python2-pyqt5 5.3.1-1
community/python-matplotlib 1.4.0-2
community/python2-matplotlib 1.4.0-2
This task depends upon

Closed by  Felix Yan (felixonmars)
Tuesday, 21 October 2014, 07:12 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.4.1-1
Comment by Felix Yan (felixonmars) - Tuesday, 02 September 2014, 15:55 GMT
Looks like an upstream issue. I've tried the Qt4Agg backend and it works, so the error is only for the Qt5Agg backend.
Comment by georg (fordprefect) - Tuesday, 02 September 2014, 16:00 GMT
thanks for looking into it.
as i am short on time, will you report this upstream?
Comment by bob (getzze) - Tuesday, 02 September 2014, 17:27 GMT
I reported to the matplotlib community (and solved the bug for me):
https://github.com/matplotlib/matplotlib/issues/3454
Comment by Felix Yan (felixonmars) - Tuesday, 21 October 2014, 02:09 GMT
1.4.1 should have the fix included, could you please test with it?
Comment by georg (fordprefect) - Tuesday, 21 October 2014, 07:02 GMT
1.4.1 does not show the bug for me anymore, as a quick test shows.
as i work with this on daily base, i will report, if i encounter any issues…
thanks for looking into this!

Loading...