Re: [Matplotlib-users] Possible to get variable spacing between certain subplots?

2010-12-14 Thread Jason Grout
On 10/28/10 1:18 PM, Will Grover wrote: > Hello matplotlib-users, > > I'm using subplots to make an array of plots, but because some of the plots > have wider y-axis tick labels than others, some of the subplots end up > looking too close to each other. Here's an image that shows what I mean: > >

Re: [Matplotlib-users] Problems installing MPL on OS X 10.6 Snow Leopard with python2.7

2010-12-14 Thread Uri Laserson
Strangely, it appears to find the correct numpy. More strangely, I picked a random order of doing things and suddenly it all works. I think what I ended up doing is this: Following builds using default setting without changing anything except: MACOSX_DEPLOYMENT_TARGET=10.6 python 2.7 numpy 1.5.

Re: [Matplotlib-users] Problems installing MPL on OS X 10.6 Snow Leopard with python2.7

2010-12-14 Thread Benjamin Root
On Mon, Dec 13, 2010 at 5:54 PM, Uri Laserson wrote: > >> Well, on my Linux system, when I get that error, it happens when I do >> an update of numpy, but fail to rebuild mpl. Here is the order how I >> build things: numpy, scipy, matplotlib. I would imagine ipython goes >> last. >> >> > That h

Re: [Matplotlib-users] One legend, two axes?

2010-12-14 Thread Benjamin Root
On Tue, Dec 14, 2010 at 2:29 PM, Skip Montanaro wrote: > I am plotting a time series, a handful of moving averages and the > standard deviation of one of the moving averages. The first crop of > data are all in an overlapping range so are plotted using the > left-hand y axis. The standard devia

Re: [Matplotlib-users] AttributeError subplot2grid

2010-12-14 Thread vt603800
I tried to upgrade to version 1.0 but without success. Could anybody tell where it went wrong? I downloaded the package matplotlib-1.0.0.tar.gz from http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/ First I tried a easy install, doing easy_install -m matplotlib-1.0.0.tar

[Matplotlib-users] One legend, two axes?

2010-12-14 Thread Skip Montanaro
I am plotting a time series, a handful of moving averages and the standard deviation of one of the moving averages. The first crop of data are all in an overlapping range so are plotted using the left-hand y axis. The standard deviation range falls way outside the ranges of the other data streams

Re: [Matplotlib-users] another incorrectly clipped PNG in the gallery

2010-12-14 Thread Daniel Hyams
I'm using it too, with excellent results. Thanks JJ! On Tue, Dec 14, 2010 at 2:13 PM, C M wrote: > >> >> >> On Thu, Sep 30, 2010 at 7:55 AM, Jae-Joon Lee wrote: >> >>> On Thu, Sep 23, 2010 at 10:31 AM, C M wrote: >>> > Until a more permanent solution is figured out, can anyone recommend >>> >

Re: [Matplotlib-users] another incorrectly clipped PNG in the gallery

2010-12-14 Thread C M
On Thu, Sep 30, 2010 at 7:55 AM, Jae-Joon Lee wrote: > On Thu, Sep 23, 2010 at 10:31 AM, C M wrote: > > Until a more permanent solution is figured out, can anyone recommend > > any workarounds, even if they are a little clunky? I'm embedding mpl > > plots in wxPython and am also finding this is

Re: [Matplotlib-users] unable to point pick 2nd axis after upgrade to mpl 1.0

2010-12-14 Thread C M
> It will work if you explicitly set its transform. > >star, = ax.plot([xdata[ind]], [ydata[ind]], '*', > ms=40, mfc='y', mec='b', > transform=thisline.get_transform()) > > JJ, thank you, this worked in my app as well. > > I also use the identity of the picked line in my

Re: [Matplotlib-users] keypress event passing arguments

2010-12-14 Thread Michael Droettboom
You can create an class to store these values with a method to handle the callback, eg. (untested code): class KeyHandler: def __init__(self): self.ImageNumber = 0 def OnKeyPress(self, event): self.ImageNumber += 1 key_handler = KeyHandler() plt.connect('key_press_e

Re: [Matplotlib-users] Bug in NonUniformImage?

2010-12-14 Thread Michael Droettboom
Only nearest and bilinear are supported for NonUniformImage. As you suggested, due to a small bug, an exception was not being raised when the interpolation is not one of those two options. This has now been fixed in SVN. Mike On 12/13/2010 01:47 PM, Nicolas Bigaouette wrote: Hi all, I'm u