views:

439

answers:

1

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?

+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
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
Try using 'locate' or 'find' to determine where it is on your machine (since that's what you're really interested in).
MarkusQ
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