Easy problem working with dev library

How do I set it up so that I can import my local matplotlib dev copy?

I tried making a sym-link to matplotlib/lib/matplotlib, but it’s giving me errors:

import matplotlib.transforms as mtransforms

AttributeError: ‘module’ object has no attribute ‘transforms’

Thanks,

Neil

After you’ve setup your development environment with all of the MPL dependencies, navigate to the MPL source directory and install it with:

$ python setup.py develop

or

$ pip install -e .

That’ll create a link in site-packages (or whatever that directory is) to the source directory. After you make changes to the source code, you’ll either need to use the “imp” module to reload MPL and the submodule you changed. I typically find it easier to just restart my python interpreter.

-Paul

···

On Sat, May 16, 2015 at 1:45 PM, Neil Girdhar <mistersheik@…149…> wrote:

How do I set it up so that I can import my local matplotlib dev copy?

I tried making a sym-link to matplotlib/lib/matplotlib, but it’s giving me errors:

import matplotlib.transforms as mtransforms

AttributeError: ‘module’ object has no attribute ‘transforms’

Thanks,

Neil


One dashboard for servers and applications across Physical-Virtual-Cloud

Widest out-of-the-box monitoring support with 50+ applications

Performance metrics, stats and reports that give you Actionable Insights

Deep dive visibility with transaction tracing using APM Insight.

http://ad.doubleclick.net/ddm/clk/290420510;117567292;y


Matplotlib-devel mailing list

Matplotlib-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-devel