Re: [Matplotlib-users] Possible bug / odd behaviour in GridSpec?

2011-05-11 Thread Jae-Joon Lee
On Thu, May 12, 2011 at 7:18 AM, David Andrews wrote: > I'm quite interested in getting involved with mpl development, partly > as a way to get my head around python & numpy and aid porting a bunch > of stuff I use over to python from IDL.  Unless I'm doing something > totally wrong by expecting t

Re: [Matplotlib-users] Possible bug / odd behaviour in GridSpec?

2011-05-11 Thread Jae-Joon Lee
Yes, this is a bug that has been fixed. https://github.com/matplotlib/matplotlib/commit/76851eb Regards, -JJ On Thu, May 12, 2011 at 7:53 AM, Goyo wrote: > 2011/5/12 David Andrews : >> Hi, >> >> I've come across something I don't entirely understand in the >> behaviour of gridspec.  It's not

Re: [Matplotlib-users] Feature request: automatic scaling of subplots, margins, etc

2011-05-11 Thread Jae-Joon Lee
On Thu, May 12, 2011 at 2:59 AM, Benjamin Root wrote: > Most things, we do know the sizes of.  It is my understanding that it is the > text objects that is the unknown.  If this could be solved, then a layout > engine would be much more feasible. I doubt it. As far as I know, the main reason that

Re: [Matplotlib-users] Feature request: automatic scaling of subplots, margins, etc

2011-05-11 Thread Jae-Joon Lee
On Thu, May 12, 2011 at 2:37 AM, Brendan Barnwell wrote: > One thing I've always wondered: is it fundamentally impossible to change the > fact that, in matplotlib, you cannot know how big a drawn object will be > until you actually draw it? Well, I don't think this is 100% correct. As far as I ca

Re: [Matplotlib-users] Possible bug / odd behaviour in GridSpec?

2011-05-11 Thread Goyo
2011/5/12 David Andrews : > Hi, > > I've come across something I don't entirely understand in the > behaviour of gridspec.  It's not obvious from the code & docs for this > module, but is it only supposed to be able to deal with 'square' > layouts, e.g. 3x3, 4x4 etc? > > Taking some code from an ex

[Matplotlib-users] Possible bug / odd behaviour in GridSpec?

2011-05-11 Thread David Andrews
Hi, I've come across something I don't entirely understand in the behaviour of gridspec.  It's not obvious from the code & docs for this module, but is it only supposed to be able to deal with 'square' layouts, e.g. 3x3, 4x4 etc? Taking some code from an example on the gridspec page ... import m

Re: [Matplotlib-users] Setting defaults that are not accessible via rcParams

2011-05-11 Thread Goyo
2011/5/11 calle : > [...] > So is there for example a way to set sth like > > axes([0.125,0.2,0.95-0.125,0.95-0.2]) > > or alike without the need to repeat it for every single plot? Not that I'm aware of. But in what sense is that worst than repeat subplot() for every single plot? Yes there are ma

Re: [Matplotlib-users] Feature request: automatic scaling of subplots, margins, etc

2011-05-11 Thread Benjamin Root
On Wed, May 11, 2011 at 4:31 PM, Eric Firing wrote: > On 05/11/2011 09:11 AM, Benjamin Root wrote: > > > > > > On Wed, May 11, 2011 at 1:43 PM, todd rme > > wrote: > > > > On Wed, May 11, 2011 at 1:59 PM, Benjamin Root > > wrote: > >

Re: [Matplotlib-users] Feature request: automatic scaling of subplots, margins, etc

2011-05-11 Thread Eric Firing
On 05/11/2011 09:11 AM, Benjamin Root wrote: > > > On Wed, May 11, 2011 at 1:43 PM, todd rme > wrote: > > On Wed, May 11, 2011 at 1:59 PM, Benjamin Root > wrote: > > > > > > On Wed, May 11, 2011 at 12:47 PM, Brendan Barn

Re: [Matplotlib-users] Feature request: automatic scaling of subplots, margins, etc

2011-05-11 Thread Benjamin Root
On Wed, May 11, 2011 at 1:43 PM, todd rme wrote: > On Wed, May 11, 2011 at 1:59 PM, Benjamin Root wrote: > > > > > > On Wed, May 11, 2011 at 12:47 PM, Brendan Barnwell < > brenb...@brenbarn.net> > > wrote: > >>One thing I've always wondered: is it fundamentally impossible to > >> change

Re: [Matplotlib-users] Feature request: automatic scaling of subplots, margins, etc

2011-05-11 Thread todd rme
On Wed, May 11, 2011 at 1:59 PM, Benjamin Root wrote: > > > On Wed, May 11, 2011 at 12:47 PM, Brendan Barnwell > wrote: >>        One thing I've always wondered: is it fundamentally impossible to >> change the fact that, in matplotlib, you cannot know how big a drawn >> object will be until you a

Re: [Matplotlib-users] Feature request: automatic scaling of subplots, margins, etc

2011-05-11 Thread Justin McCann
On Wed, May 11, 2011 at 1:59 PM, Benjamin Root wrote: > ... > Most things, we do know the sizes of. It is my understanding that it is > the text objects that is the unknown. If this could be solved, then a > layout engine would be much more feasible. The problem is that even LaTeX > has to re-

Re: [Matplotlib-users] Feature request: automatic scaling of subplots, margins, etc

2011-05-11 Thread Benjamin Root
On Wed, May 11, 2011 at 12:47 PM, Brendan Barnwell wrote: > [Accidentally sent this reply privately the first time, natch.] > > On 2011-05-11 04:29, Jae-Joon Lee wrote: > > > On Wed, May 11, 2011 at 5:03 PM, Daniel Mader > > > wrote: > >> >> Hi Jae-Loon, > >> >> > >> >> thanks for your co

Re: [Matplotlib-users] Feature request: automatic scaling of subplots, margins, etc

2011-05-11 Thread Brendan Barnwell
[Accidentally sent this reply privately the first time, natch.] On 2011-05-11 04:29, Jae-Joon Lee wrote: > > On Wed, May 11, 2011 at 5:03 PM, Daniel Mader > > wrote: >> >> Hi Jae-Loon, >> >> >> >> thanks for your comments! Of course I do agree that a figure layout >> >> should not chan

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

2011-05-11 Thread C M
On Wed, May 11, 2011 at 11:07 AM, C M wrote: > On Wed, May 11, 2011 at 12:29 AM, Jae-Joon Lee wrote: >> I think I fixed a similar bug at some point but I'm not sure if that >> is related with this. >> Are you using the *make_axes_area_auto_adjustable* from the current >> git master (check >> exam

[Matplotlib-users] "undefined symbol" error message when importing from matplotlib._path

2011-05-11 Thread Frank Thommen
Hi, we're running Matplotlib 1.0.0 with Python 2.6.2 on CentOS 5.6. When importing from matplotlib._path, users get an error message "undefined symbol: _ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l" I'm at a loss. There were no errors during the installation

[Matplotlib-users] Setting defaults that are not accessible via rcParams

2011-05-11 Thread calle
Hej, Being a student of Geophysics, I regularly have to hand in some reports, for which I'm doing a lot of plotting. I am using a latex-template of my own, inserting the graphics from pdf. Now I am looking for a convenient way to set some defaults for the format of plots I am using. I have creat

Re: [Matplotlib-users] Re : matplotlibrc for [ieee] publications

2011-05-11 Thread alex arsenovic
hi, just curious if anyone wants to add some publication formating settings? if you send me the rc params, and publication infos i add them to the project. http://code.google.com/p/mplrc/ On Sat, 2011-04-16 at 14:21 -0400, alex arsenovic wrote: > i created the project for 'mplrc' here > http

Re: [Matplotlib-users] Feature request: automatic scaling of subplots, margins, etc

2011-05-11 Thread Daniel Mader
Hi again, >> Hi Jae-Loon, >> >> thanks for your comments! Of course I do agree that a figure layout >> should not change in interactive mode. However, I don't see why this >> should happen upon a panning action. A different case is when the >> label or title font sizes are changed, but I was assum

Re: [Matplotlib-users] Feature request: automatic scaling of subplots, margins, etc

2011-05-11 Thread Jae-Joon Lee
On Wed, May 11, 2011 at 5:03 PM, Daniel Mader wrote: > Hi Jae-Loon, > > thanks for your comments! Of course I do agree that a figure layout > should not change in interactive mode. However, I don't see why this > should happen upon a panning action. A different case is when the > label or title fo

Re: [Matplotlib-users] Feature request: automatic scaling of subplots, margins, etc

2011-05-11 Thread Daniel Mader
Hi Jae-Loon, thanks for your comments! Of course I do agree that a figure layout should not change in interactive mode. However, I don't see why this should happen upon a panning action. A different case is when the label or title font sizes are changed, but I was assuming this is adjusted prior t