text_plain_output_2.png application_vnd.jupyter.stderr_output_1.png image_output_1.png
import seaborn as sns

df = sns.load_dataset('titanic')

sns.countplot(data=df, x='alive', hue='sex', palette='deep')