Similar to this (unanswered) question, how can I resize an existing figure and axis? For example, I would like to do the following:
fig, ax = plt.subplots(figsize=(3,3))
# (3,3) figure
ax.plot(range(10))
fig.savefig("33.pdf")
# (6,3) figure
fig.figsize=(6,3)
ax.plot(range(10))
fig.savefig("63.pdf")
but the command fig.figsize=(6,3)
doesn't work.