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)