You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GridSpec has a `figure` keyword argument, not a `fig` keyword argument.
The error message can be produced using a snippet like the following:
from matplotlib.figure import Figure
from matplotlib.gridspec import GridSpec
fig = Figure(constrained_layout=True)
gs = GridSpec(1, 1)
ax = fig.add_subplot(gs[0])
ax.plot([0, 1], [0, 1])
fig.savefig("temp.svg")
0 commit comments