Re: [Matplotlib-users] gridspec

2011-11-21 Thread Benjamin Root
On Fri, Nov 18, 2011 at 9:22 AM, brogi federico wrote: > Hi, > > -my operating system is : > Linux fede 2.6.32-34-generic #77-Ubuntu SMP Tue Sep 13 19:40:53 UTC 2011 > i686 GNU/Linux > > -matplotlib version > 0.99.1.1 > > - I obtained the matplotlib from Sourceforge site > > - my problem is the

Re: [Matplotlib-users] GridSpec has unecpected effect

2011-09-22 Thread Kurt Mueller
Am 17.09.2011 18:49, schrieb Kurt Mueller: > Am 17.09.2011 um 15:38 schrieb Jae-Joon Lee: >> Thanks for reporting this. >> I opened a pull request that I believe fixes this problem. >> https://github.com/matplotlib/matplotlib/pull/472 > Thank you very much! >> Please test this if you can. > I hope

Re: [Matplotlib-users] GridSpec has unecpected effect

2011-09-17 Thread Kurt Mueller
Am 17.09.2011 um 15:38 schrieb Jae-Joon Lee: > Thanks for reporting this. > I opened a pull request that I believe fixes this problem. > https://github.com/matplotlib/matplotlib/pull/472 Thank you very much! > Please test this if you can. I hope next week. > Depending on your need, you may wo

Re: [Matplotlib-users] GridSpec has unecpected effect

2011-09-17 Thread Jae-Joon Lee
Thanks for reporting this. I opened a pull request that I believe fixes this problem. https://github.com/matplotlib/matplotlib/pull/472 Please test this if you can. Depending on your need, you may work around this by calling all the set_position method always after all the GridSpec.update call.

Re: [Matplotlib-users] Gridspec and shared y-axis label

2011-08-22 Thread Jae-Joon Lee
On Thu, Aug 18, 2011 at 5:53 PM, mogliii wrote: > 2) I want to make a shared y-axis label. I found this page: > http://www.scipy.org/Cookbook/Matplotlib/Multiple_Subplots_with_One_Axis_Label > But any additional axis I put before the gridspec axis is not shown in > the end. Is there a special proc

Re: [Matplotlib-users] Gridspec and shared y-axis label

2011-08-18 Thread Jae-Joon Lee
On Fri, Aug 19, 2011 at 1:29 AM, mogliii wrote: > Looking back I must say that > http://matplotlib.sourceforge.net/api/gridspec_api.html#matplotlib.gridspec.GridSpecBase > is not very helpful. And it is very counter-intuitive to the Axes > dimension specification with location lower left and width

Re: [Matplotlib-users] GridSpec Index Order

2010-10-26 Thread Jae-Joon Lee
Try this. def get_indx(irow, icol): return irow*4+icol ax = plt.subplot(gs[get_indx(0,3):get_indx(3,3)]) With 1d slicing, the axes will occupy the rectangle defined by the start and stop location. For example, gs[i:j] will occupy the rectangular area between gs[i] and gs[j-1]. Let me kno

Re: [Matplotlib-users] GridSpec Index Order

2010-10-25 Thread Nikolaus Rath
On 10/25/2010 11:18 AM, Jae-Joon Lee wrote: > On Mon, Oct 25, 2010 at 10:45 PM, Nikolaus Rath wrote: >> So I have to instantiate GridSpec with a (rows, column), but when I >> index the grid I have to use (column, row). >> >> Is there any reason for this counterintuitive behaviour? >> > > This is

Re: [Matplotlib-users] GridSpec Index Order

2010-10-25 Thread Jae-Joon Lee
On Mon, Oct 25, 2010 at 10:45 PM, Nikolaus Rath wrote: > So I have to instantiate GridSpec with a (rows, column), but when I > index the grid I have to use (column, row). > > Is there any reason for this counterintuitive behaviour? > This is not an intended behavior but a bug which affects a grid

Re: [Matplotlib-users] GridSpec for Figure objects?

2010-10-24 Thread Jae-Joon Lee
On Mon, Oct 25, 2010 at 3:14 AM, Nikolaus Rath wrote: > I would like to create subplots with different sizes using the object > oriented API. However, it seems that the subplot2grid() method exists > only in pyplot, but not as a Figure instance method. Am I looking in the > wrong place? How do I u