seaborn countplot displot code example Example: countplot for different classes in a column >>> ax = sns.countplot(x="who", data=titanic, palette="Set3")