-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Labels
Difficulty: Easyhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issueshttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issues
Milestone
Description
If width_ratios 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")Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Difficulty: Easyhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issueshttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issues
