[Python-modules-team] Bug#691960: matplotlib: examples directory set wrong
Julian Taylor
jtaylor.debian at googlemail.com
Wed Oct 31 18:04:43 UTC 2012
Package: matplotlib
Version: 1.1.1~rc2-1
Severity: normal
the examples data directory in the default package configuration of
matplotlib includes an /etc which breaks all examples.
python
/usr/share/doc/python-matplotlib-doc/examples/pylab_examples/image_demo3.py
IOError: [Errno 2] No such file or directory:
"/etc/'/usr/share/matplotlib/sampledata'/lena.jpg"
>>> from matplotlib import rcParams
>>> rcParams['examples.directory']
"/etc/'/usr/share/matplotlib/sampledata'"
forwarded from ubuntu, affects testing.
https://bugs.launchpad.net/ubuntu/+source/matplotlib/+bug/1073443
it also seems to affect experimental, but there 'examples.directory' is
not set at all and it searches in:
IOError: [Errno 2] No such file or directory:
'/usr/lib/pymodules/python2.7/matplotlib/mpl-data/sample_data/lena.jpg
More information about the Python-modules-team
mailing list