Text of discourse.matplotlib.org › t › matplotlib-devel-easy-problem-working-with-dev-lib… as Styx crawled it on Nov 20, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

[matplotlib-devel] Easy problem working with dev library - matplotlib-users - Matplotlib

[matplotlib-devel] Easy problem working with dev library Community matplotlib-users _Paul_Hobson1 May 17, 2015, 1:20am 1 ​ ​ ​Assuming you cloned the repo from git, just checkout any revision you want. ​ If didn’t clone from git, just reinstall matplotlib anyway you want. ​-Paul. ··· On Sat, May 16, 2015 at 5:52 PM, Paul Hobson <pmhobson@…1003…7…> wrote: 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@…1972…> 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 [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-devel Eric_Firing1 May 17, 2015, 1:35am 2 Thanks, and if I want to revert my system to its old matplotlib? ​ ​Assuming you cloned the repo from git, just checkout any revision you want.

But you have to rerun the "pip install -e ." or "setup.py develop" so that the extension code will be rebuilt if there were any extension code changes between revisions. ​ If didn't clone from git, just reinstall matplotlib anyway you want. It's not as simple as that, unfortunately, because different installation methods put things in different places. For example, if you are on linux, the package manager will install the /usr tree while setup etc will install in the /usr/local tree.

The usual advice for getting around such problems is to use a fresh virtualenv (or conda environment if you are using Anaconda) for your development. Alternatively you can use a user install to a location of your choice and then add that to your PYTHONPATH when you want to work in development mode, and remove it when you want to run with whatever python environment you had before. Eric ··· On 2015/05/16 3:20 PM, Paul Hobson wrote: On Saturday, May 16, 2015 at 14:58, Neil Girdhar < [email protected] ... > <mailto:mistersheik@…287…>>, wrote: ​-Paul.

On Sat, May 16, 2015 at 5:52 PM, Paul Hobson < [email protected] ... > <mailto:pmhobson@…287…>> wrote: 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 > < [email protected] ... <mailto:mistersheik@…287…>> 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.

Application Monitor Software & Tools - ManageEngine Applications Manager _______________________________________________ Matplotlib-devel mailing list [email protected] <mailto: [email protected] > matplotlib-devel List Signup and Options ------------------------------------------------------------------------------ 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.

Application Monitor Software & Tools - ManageEngine Applications Manager _______________________________________________ Matplotlib-users mailing list [email protected] matplotlib-users List Signup and Options