= plt.subplot2grid((3, 3), (1, 2), rowspan=2) # 3行3列, 第1行2列(即:第二行第3个位置),跨2行 ax5.text(0.5, 0.5, r"$ax ax4.text(0.5, 0.5, r"$ax-4$") ax5 = plt.subplot(gs[1:0, 2]) # [1,最后1列]行合并,第2列 ax5.text(0.5, 0.5, r"$ax