未验证 提交 6a1bd606 编写于 作者: L Lingxu Meng 提交者: GitHub

Update 71.md

上级 dfed3284
......@@ -4,37 +4,37 @@
seaborn.despine(fig=None, ax=None, top=True, right=True, left=False, bottom=False, offset=None, trim=False)
```
Remove the top and right spines from plot(s).
从图中移除顶部和右侧脊柱。
```py
fig : matplotlib figure, optional
```
Figure to despine all axes of, default uses current figure.
去除所有轴脊柱,默认使用当前数值。
```py
ax : matplotlib axes, optional
```
Specific axes object to despine.
去除特定的轴脊柱。
```py
top, right, left, bottom : boolean, optional
```
If True, remove that spine.
如果为 True,去除脊柱。
```py
offset : int or dict, optional
```
Absolute distance, in points, spines should be moved away from the axes (negative values move spines inward). A single value applies to all spines; a dict can be used to set offset values per side.
绝对距离(以磅为单位)应将脊椎移离轴线(负值向内移动脊柱)。 单个值适用于所有脊柱; 字典可用于设置每侧的偏移值。
```py
trim : bool, optional
```
If True, limit spines to the smallest and largest major tick on each non-despined axis.
如果为True,则将脊柱限制为每个非去除脊柱的轴上的最小和最大主刻度。
返回值:None |
| --- | --- |
\ No newline at end of file
| --- | --- |
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册