在matplotlib一般使用plt.figure来设置窗口尺寸。
plt.figure(figsize=(16, 9))
但是如果使用plt.subplots,那么这种方法就无效,只能通过subplots自己设置窗口大小。
fig, subplot_arr = plt.subplots(3,4,figsize=(18,12))
在matplotlib一般使用plt.figure来设置窗口尺寸。
plt.figure(figsize=(16, 9))
但是如果使用plt.subplots,那么这种方法就无效,只能通过subplots自己设置窗口大小。
fig, subplot_arr = plt.subplots(3,4,figsize=(18,12))