remove_borders
remove_borders(axes, left=False, bottom=False, right=True, top=True)
Remove chart junk from matplotlib plots.
Parameters
-
axes
: iterableAn iterable containing plt.gca() or plt.subplot() objects, e.g. [plt.gca()].
-
left
: bool (default:False
)Hide left axis spine if True.
-
bottom
: bool (default:False
)Hide bottom axis spine if True.
-
right
: bool (default:True
)Hide right axis spine if True.
-
top
: bool (default:True
)Hide top axis spine if True.
Examples
For usage examples, please see http://rasbt.github.io/mlxtend/user_guide/plotting/remove_chartjunk/