matplotlib子圖佈局總結示例

GridSpec import matplotlib.pyplot as plt from matplotlib.gridspec import GridSpec fig = plt.figure() gs = GridSpec(3, 3, figure=fig) ax1 = fig.add_subplot(gs[0,:]) ax2 = fig.add_subplot(gs[1:3,0]) a
相關文章
相關標籤/搜索