Re: [matplotlib-devel] gca() returns Axes

2012-08-21 Thread Phil Elson
I made a minor change to gca on Monday to address a bug. The PR was https://github.com/matplotlib/matplotlib/pull/ I can't see that it should be the cause of this though. Regards, On 21 August 2012 22:40, Eric Firing wrote: > On 2012/08/21 10:21 AM, Eric Firing wrote: > > I have run into

Re: [matplotlib-devel] gca() returns Axes

2012-08-21 Thread Eric Firing
On 2012/08/21 10:21 AM, Eric Firing wrote: > I have run into a problem related to tight_layout when building the > docs, and the root of it seems to be that plt.gca() returns an Axes, not > an AxesSubplot. This seems odd, since it appears that it should be > equivalent to plt.subplot(1,1,1) when t

[matplotlib-devel] gca() returns Axes

2012-08-21 Thread Eric Firing
I have run into a problem related to tight_layout when building the docs, and the root of it seems to be that plt.gca() returns an Axes, not an AxesSubplot. This seems odd, since it appears that it should be equivalent to plt.subplot(1,1,1) when there is no pre-existing axes. Does anyone see a