From: Jae-Joon L. <lee...@gm...> - 2012-08-29 14:01:05
|
On Wed, Aug 22, 2012 at 6:40 AM, Eric Firing <ef...@ha...> wrote: > Correction: now I can't reproduce what I thought I was seeing; plt.gca() > is returning an AxesSubplot as it should. Maybe the problem is in the > axes_grid1 toolkit. It is appearing in the last figure of the > tight_layout tutorial in the docs. For axes which uses axes_locator, tight_layout works if the axes_locator have associated subplotspec. And, only allowing instance of SubplotBase is too strict. The PR below addresses this issue. https://github.com/matplotlib/matplotlib/pull/1170 And it will work again for the axes_grid1 cases. Regards, -JJ |