Looking at this tutorial here: link text it references matplotlib.get_example_data('goog.npy'). I get an error when I run this, and furthermore I can't even find the mpl-data/ folder in my macosx installation of matplot lib when searching using Spotlight. Any idea what this function is now called?
views:
439answers:
1
+1
A:
It's defined in __init__.py
(around line 490), if that's what you're asking.
-- MarkusQ
P.S. The mpl_data/
directory is there too (both of them are in the top level directory). Are you sure you've got a good / complete installation?
MarkusQ
2009-02-28 20:45:37
My installation came with an Enthough distribution. I am on an iMac and can't find any of this stuff. Where is it installed by default on unix machines?
ApplePieIsGood
2009-02-28 21:05:11
Try using 'locate' or 'find' to determine where it is on your machine (since that's what you're really interested in).
MarkusQ
2009-02-28 21:51:35
OK I found the __init__.py for matplotlib on my machine, but it does not have get_example_data defined in it nor does it have goog.npy in its mpl-data folder. Maybe the problem is that its using 98.3.0001 which comes with Enthought's distribution, where as the newer version 98.5 has it defined.
ApplePieIsGood
2009-02-28 22:10:54