【发布时间】:2022-12-03 03:31:34
【问题描述】:
我正在测试显示数字的不同方式。我有一个图,它由 12 个子图组成,分为两列。就像是...
fig, ax = plt.subplots(6, 2, figsize= (20,26))
我有另一个代码,它根据分类数据将 12 个子图分成 3 个不同的图形。就像是
figA, ax = plt.subplots(5, 1, figsize= (10,23))
figB, ax = plt.subplots(3, 1, figsize= (10,17))
fig2, ax = plt.subplots(4, 1, figsize= (10,20))
有没有办法确保每个图中的所有子图都具有相同的 x 和 y 轴长度?
【问题讨论】:
-
ProPlot 有这样的布局管理器:proplot.readthedocs.io
标签: python matplotlib plot subplot figure