当行数或列数相等时,使用两个索引引用子批轴可以使用两个索引引用不同的子批次,以索引它们的轴,如下例所示 rows = 2 cols = 2 f, ax = plt.subplots(rows, cols) x = np.arange(12) ...2024-04-28 已阅读: n次