Public bug reported:

[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['examples.directory']
"/etc/'/usr/share/matplotlib/sampledata'"

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/matplotlib/sampledata'   # absolute directory 
to look in if download is false

I don't understand that much about python at the moment so I can't
diagnose this any further, but there you have it.

** Affects: matplotlib (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1073443

Title:
  examples directory variable set incorrectly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/matplotlib/+bug/1073443/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to