mc3 icon indicating copy to clipboard operation
mc3 copied to clipboard

Automate caption sizes / location

Open pcubillos opened this issue 6 years ago • 1 comments

You can get the size of a label with this:
text_size = yl.get_window_extent().height / fig.get_window_extent().height

which you can compare to the size of its axes: axes_size = ax.get_position().height

The idea is to automate the size of captions when there are few/many subplots, to avoid having overlapping/tiny captions.

pcubillos avatar Nov 01 '18 09:11 pcubillos

See plt.tight_layout()

pcubillos avatar Aug 30 '19 14:08 pcubillos