如何更改 seaborn 轴或图形级别图的图形大小 如何更改图像的大小以使其适合打印? 例如,我想使用 A4 纸,横向尺寸为 11.7 英寸 x 8.27 英寸. 解决方案 需要提前创建 matplotlib Figure 和 Axes 对象,指定图形有多大: from matplotlib import pyplot进口seaborn导入 myliba4_dims = (11.7, 8.27)df = mylib.load_dat .. 发布时间:2021-12-11 13:24:07 python matplotlib seaborn figsize Python