From: Eric F. <ef...@ha...> - 2012-08-21 20:21:17
|
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 any problem with ensuring that what plt.gca() returns in this case is an AxesSubplot instance? Eric |