这是一个简单的问题,基于之前提出的子图问题:Matplotlib different size subplots
但是我该如何将较大的图放在顶部?我知道在
plt.subplots()
中使用nrows和ncolumns,但我无法将较大的图放在顶部,而将3个较小的图放在下面。plt.figure(figsize=(12, 6))
ax1 = plt.subplot(2,1,2)
ax2 = plt.subplot(2,3,1)
ax3 = plt.subplot(2,3,2)
ax4 = plt.subplot(2,3,3)
axes = [ax1, ax2, ax3, ax4]
希望能把下面的图排在前三名之上。
谢谢!