📅  最后修改于: 2022-03-11 14:46:21.200000             🧑  作者: Mango
ncols = 3
nrows = int(np.ceil(len(my_list) / ncols))
ax_width, ax_height = 3, 2
fig, axes = plt.subplots(
ncols=ncols,
nrows=nrows,
figsize=(ax_width * ncols, ax_height * nrows)
)