Right here
|
fig.savefig(current_fig, **kwargs) |
I think it would be good to use bbox_inches="tight". This will make sure that the saved figure is fit to the data contained within it. Otherwise you often accidentally get text that's cut off. It's also consistent with what happens when figures get rendered in the notebook. Friendly to a PR that adds this flag?
Right here
sphinx-gallery/sphinx_gallery/gen_rst.py
Line 260 in d9b90ed
I think it would be good to use
bbox_inches="tight". This will make sure that the saved figure is fit to the data contained within it. Otherwise you often accidentally get text that's cut off. It's also consistent with what happens when figures get rendered in the notebook. Friendly to a PR that adds this flag?