Red Hat Bugzilla – Bug 437383
savefig to PDF is broken with Python 2.5
Last modified: 2008-05-10 09:58:41 EDT
Description of problem:
Cannot save plots in PDF format with Python 2.5.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Try to write out a plot in PDF format, e.g. with a script such as:
from pylab import *
Python traceback, ending in
line 505, in get_char_width
unicode = cp1252.decoding_map[charcode] or 0
AttributeError: 'module' object has no attribute 'decoding_map'
Plot is produced in PDF format.
for the original bug report and a patch. Alternatively, the fix appears to be in
the 0.91.2 release, so you could just update to the latest version.
I'll look at spinning up the updated version this weekend. Ping this report
again if you haven't heard from me by Monday.
Sorry I was sick last weekend. I'm working on packaging the new upstream version
for updates-testing today.
python-matplotlib-0.91.2-1.fc8 has been submitted as an update for Fedora 8
python-matplotlib-0.91.2-1.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update python-matplotlib'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-2727
python-matplotlib-0.91.2-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.