3
我想要定位5個子圖,以便有三個頂部和兩個底部但彼此相鄰。當前的代碼靠攏,但我想最終的結果如下所示(忽略灰線):在Matplotlib中定位5個子圖
import matplotlib.pyplot as plt
ax1 = plt.subplot(231)
ax2 = plt.subplot(232)
ax3 = plt.subplot(233)
ax4 = plt.subplot(234)
ax5 = plt.subplot(236)
plt.show()