matplotlib.artist.Artist.set_in_layout# Artist.set_in_layout(in_layout)[source]# 设置此 Artist 是否应包含在布局计算中,例如 受限布局指南、Figure.tight_layout() 以及 fig.savefig(fname, bbox_inches='tight')。 参数: in_layoutbool 使用 matplotlib.artist.Artist.set_in_layout 的示例# 约束布局指南 约束布局指南 紧凑布局指南 紧凑布局指南