examples directory variable set incorrectly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
matplotlib (Debian) |
Fix Released
|
Unknown
|
|||
matplotlib (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[python-matplotlib version 1.1.1-1]
Some of the examples posted on the matplotlib website fail because they can't find the example data.
In python the examples.directory variable mistakenly includes /etc' '.
mark@Obsidian:~$ python
Python 2.7.3 (default, Sep 26 2012, 21:51:14)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from matplotlib import rcParams
>>> rcParams[
"/etc/'
that is strange however because it's not set up that way in the global configuration file
mark@Obsidian:~$ tail -2 /etc/matplotlibrc
examples.download : False # False to bypass downloading mechanism
examples.directory : '/usr/share/
I don't understand that much about python at the moment so I can't diagnose this any further, but there you have it.
Changed in matplotlib (Ubuntu): | |
status: | Incomplete → Confirmed |
Changed in matplotlib (Debian): | |
status: | Unknown → New |
Changed in matplotlib (Debian): | |
status: | New → Fix Released |
What does the following code return for you?
>>> import matplotlib matplotlib_ fname()
>>> print matplotlib.