My problem is setting the absolute size of the subplots. You could try the subplot_tool() plt.I know how to set the relative size of subplots within a figure using gridspec or subplots_adjust, and I know how to set the size of a figure using figsize. Thus to make more white space and keep the sub plot size the total image needs to be bigger. "I've tried messing with hspace, but increasing it only seems to make all of the graphs smaller without resolving the overlap problem." Left = 0.125 # the left side of the subplots of the figure Subplots_adjust(left=None, bottom=None, right=None, top=None, The plt.subplots_adjust method: def subplots_adjust(*args, **kwargs): # flatten the axes array to easily access any subplot get_figure() to extract the ot figure object from one of the Axes.Īxes = df.plot(subplots=True, layout=(3, 5), figsize=(25, 16), sharex=True, sharey=True)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |