Closed
Description
If width_ratio
s is too small, it fails pretty late too, only when you go to add the subplot.
import matplotlib
import matplotlib.pyplot
gs = matplotlib.gridspec.GridSpec(1,2, width_ratios=[2, 1, 3], height_ratios=[3,4])
plt.gcf().add_subplot(gs[0])
plt.gcf().add_subplot(gs[1])
plt.gcf().savefig("gridspec_issue.png", facecolor="grey")