Opened 6 years ago
Last modified 5 years ago
#451 new defect
Matplotlib crash in savefig (png)
Reported by: | silyko | Owned by: | |
---|---|---|---|
Priority: | minor | Component: | Package |
Version: | Keywords: | matplotlib | |
Cc: |
Description
The version of matplotlib included in the 64-bit installer (matplotlib version 1.3.1) causes python to crash when savefig is applied to save a png. This happens both from the GUI and when applied programatically. Does not happen e.g. for a pdf or jpeg, so seemingly a defect in a (lib)png dependency. Using backend "Qt4Agg".
Change History (2)
comment:2 Changed 5 years ago by
Replying to silyko:
The version of matplotlib included in the 64-bit installer (matplotlib version 1.3.1) causes python to crash when savefig is applied to save a png. This happens both from the GUI and when applied programatically. Does not happen e.g. for a pdf or jpeg, so seemingly a defect in a (lib)png dependency. Using backend "Qt4Agg".
I've experienced the same problem on Windows but it's OK on Ubuntu & fedora. A workaround is to produce Tiff.
I am experiencing this problem in my qgisplugin to, as do my users, can the version of mathplotlib / libpng be upgraded in the installer?
These are the content of error rapport in visual studio: