Public bug reported:
I tried running a demo for matplotlib
(https://matplotlib.org/mpl_examples/api/date_demo.py) and I got an
error:
IOError: [Errno 2] No such file or directory: u'/usr/share/matplotlib
/mpl-data/sample_data/goog.npy'
I did not investigate thoroughly but for me, the files are in the wrong
location.
/usr/share/matplotlib/sample_data should be located in
/usr/share/matplotlib/mpl_data/sample_data.
At least this is where matplotlib.cbook.get_sample_data() function will
for its files not in /usr/share/matplotlib/sample_data
I don't know why it's the wrong location on ubuntu ???
For a quick fix, I made a symbolic link for sample_date in mpl_data
directory.
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: python-matplotlib 2.0.0+dfsg1-2ubuntu1
ProcVersionSignature: Ubuntu 4.10.0-35.39-generic 4.10.17
Uname: Linux 4.10.0-35-generic x86_64
ApportVersion: 2.20.4-0ubuntu4.5
Architecture: amd64
CurrentDesktop: Unity:Unity7
Date: Wed Oct 4 10:44:37 2017
InstallationDate: Installed on 2016-05-22 (499 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: matplotlib
UpgradeStatus: Upgraded to zesty on 2017-04-14 (173 days ago)
** Affects: matplotlib (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug zesty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1721211
Title:
wrong location for matplotlib example data
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/matplotlib/+bug/1721211/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs