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).
Figure to despine all axes of, defaults to the current figure.
Specific axes object to despine. Ignored if fig is provided.
If True, remove that spine.
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.
If True, limit spines to the smallest and largest major tick on each non-despined axis.