There is a method to resize the entire Figure
plt.gcf().set_size_inches
Is it possible to similarly resize just a subplot of a Figure, i.e. Axis?
My xticks currently overlap and I would like to resize the plot accordingly, to:
len(ticks) * max(tick_lengths)
The problem with using set_size_inches
is:
a) it resizes all subplots when a Figure contains more than a single Axis
b) the margins around the Axis and between them are also resized