seaborn.despine#
- 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).
- figmatplotlib figure, optional
Figure to despine all axes of, defaults to the current figure.
- axmatplotlib axes, optional
Specific axes object to despine. Ignored if fig is provided.
- top, right, left, bottomboolean, optional
If True, remove that spine.
- offsetint 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.
- trimbool, optional
If True, limit spines to the smallest and largest major tick on each non-despined axis.
- Returns:
- None