When setting the figure size for my subplots in matplotlib the size is including the size of the x-axis labels. I use the following code:
fig, ax = plt.subplots(figsize=(12, 4))
sns.regplot(ax=ax1, x=data['x'], y = data['y'])
When my x-axis labels are shown vertically and quite long, let's say 12 characters, the height of the plot is cropped. How can I specify the dimensions of a plot excluding the space taken up by the x-axis labels?