[Matplotlib-users] OT: Just because you can...

2014-02-21 Thread Joe Kington
There's a bad meme here. Hope you'll forgive the distraction! import matplotlib.pyplot as plt import numpy as np def main(): t = np.linspace(0, 4*np.pi, 1000) fig, ax = plt.subplots() ax.plot(t, np.cos(t)) ax.plot(t, np.sin(t)) for _ in range(10): fig =

[Matplotlib-users] [os x] Can't get IPython to use latest version of matplotlib

2014-02-21 Thread Timothy Duly
Hello, I recently upgraded matplotlib, which was relatively simple: sudo pip install matplotlib --upgrade I checked to make sure I did indeed upgrade: [~]$ python Python 2.7.3 (v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type help,

Re: [Matplotlib-users] [os x] Can't get IPython to use latest version of matplotlib

2014-02-21 Thread Paul Hobson
It appears that you have two different version of python installed (Apple's 2.7.3 and python.org's 2.7.5). You have to install all third-party packages to the correct one. It appears pip in acting on Apple's python. On Fri, Feb 21, 2014 at 2:08 PM, Timothy Duly timdu...@gmail.com wrote: Hello,

Re: [Matplotlib-users] [os x] Can't get IPython to use latest version of matplotlib

2014-02-21 Thread Timothy Duly
Paul, Do you know how to to get pip install on python.org's version? Thanks, Tim On Fri, Feb 21, 2014 at 5:53 PM, Paul Hobson pmhob...@gmail.com wrote: It appears that you have two different version of python installed (Apple's 2.7.3 and python.org's 2.7.5). You have to install all

Re: [Matplotlib-users] [os x] Can't get IPython to use latest version of matplotlib

2014-02-21 Thread Alex Goodman
Hi Tim, Whenever you have two python versions installed to one machine, it is generally a good practice to set your PATH environment variable to the directory where the python executable you want to use currently lies, and make it permanent by adding it to your ~/.bash_profile file (on MacOSX).