seaborn.despine

译者:Modrisco

seaborn.despine(fig=None, ax=None, top=True, right=True, left=False, bottom=False, offset=None, trim=False)

从图中移除顶部和右侧脊柱。

fig : matplotlib 值, 可选

去除所有轴脊柱,默认使用当前数值。

ax : matplotlib 轴, 可选

去除特定的轴脊柱。

top, right, left, bottom : boolean, 可选

如果为 True,去除脊柱。

offset : int or dict, 可选

绝对距离(以磅为单位)应将脊椎移离轴线(负值向内移动脊柱)。 单个值适用于所有脊柱; 字典可用于设置每侧的偏移值。

trim : bool, 可选

如果为True,则将脊柱限制为每个非去除脊柱的轴上的最小和最大主刻度。

返回值:None

书籍推荐