在创建/初始化 matplotlib 图形后,如何调整它的大小?
fig, ax = plt.subplots(figsize=(4, 3))
pd.Series([1, 2, 3]).plot(ax=ax)
# which command to use to? below obviously does not work
fig.set_figsize((6, 6))
慕尼黑的夜晚无繁华
相关分类