Seaborn is an open-source Python library built on top of matplotlib. It is used for data
visualization and exploratory data analysis. Seaborn works easily with dataframes and
the Pandas library. The graphs created can also be customized easily
import seaborn as sns
from sklearn.metrics import confusion_matrix as cm
conf_mat = cm(y_true, y_pred)
sns.heatmap(conf_mat, annot=True)
# importing packages
import seaborn as sns
# loading dataset
data = sns.load_dataset("iris")
# draw lineplot
sns.lineplot(x="sepal_length", y="sepal_width", data=data)