Removing Axes Spines
The despine() is a function that removes the spines from the right and upper portion of the plot by default. sns.despine(left = True) helps remove the spine from the left.
Python3
import seaborn as sns import matplotlib.pyplot as plt tips = sns.load_dataset( 'tips' ) sns.countplot(x = 'sex' , data = tips) sns.despine() |
Output
Seaborn | Style And Color
Seaborn is a statistical plotting library in python. It has beautiful default styles. This article deals with the ways of styling the different kinds of plots in seaborn.
Contact Us