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
autosize() is simply magical! But I am struggling to get it working with plt.subplots in matplotlib.
My script goes like:
fig, axis=plt.subplots(figsize=(6,6), ncols=4, nrows=4)
foriinrange(0, 4):
forjinrange(0, 4):
# a class that makes plots in certain axis:gec.PlotClsHDP(i, j, ax=axis[i,j], **kwargs)
autosize(fig)
plt.show()
but the result is the following:
The text was updated successfully, but these errors were encountered:
Hi Arthur, thanks for your note. Glad you're finding it's useful!
This is a good point about it not working well with subplots. I guess maybe we should rescale the sizes depending on the number/size of the subplots. But there's also the risk that making the fonts smaller would just put us back in the position where they're illegible.
autosize()
is simply magical! But I am struggling to get it working withplt.subplots
in matplotlib.My script goes like:
but the result is the following:
The text was updated successfully, but these errors were encountered: