You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ImageGrid class seems to not behave correctly since the upgrade to matplotlib 3.0.0 when the inline backend is used in a Jupyter notebook: the resulting subplots fail to arrange in a grid and are placed on top of eachother. The correct behaviour is reproduced if using the notebook or ipympl backends. Thanks!
Yeah this seems to be a duplicate of #12355; inline uses bbox_inches='tight', and there was a bad interaction with axes_grid1 subclasses and that saving option. #12363 should fix this as well....
@ezatterin While waiting for the new release which hopefully has this fixed you may always decide to not crop the images when using %matplotlib inline via
Activity
jklymak commentedon Oct 2, 2018
Yeah this seems to be a duplicate of #12355;
inlineusesbbox_inches='tight', and there was a bad interaction withaxes_grid1subclasses and that saving option. #12363 should fix this as well....jklymak commentedon Oct 2, 2018
Just add
fig.savefig('Boo.png', bbox_inches='tight')to the above to make it reproducible w/o a notebook. #12363 indeed fixes this...jklymak commentedon Oct 2, 2018
Thanks for the bug report - closing as a duplicate, but I used your example as a new test...
ezatterin commentedon Oct 2, 2018
Understood. Thanks to you!
ImportanceOfBeingErnest commentedon Oct 2, 2018
@ezatterin While waiting for the new release which hopefully has this fixed you may always decide to not crop the images when using
%matplotlib inlineviain IPython or Jupyter.