<jupyter_start><jupyter_text>📕 Add a title The following distribution chart is built thanks to the `kdeplot()` function of `seaborn`. This function returns a `matplotlib` axes instance. Unlike `pyplot` itself, which has a method `plt.title()`, the corresponding argument for an axes is `ax.set_title()`. This is what you need to call to build the title:<jupyter_code># library & dataset
import seaborn as sns
df = sns.load_dataset('iris')

# Figure size
sns.set(rc={'figure.figsize':(10,10)})

# Grey background
sns.set(style="darkgrid")

# Make default density plot
ax = sns.kdeplot(df['sepal_width'])

# Add title
ax.set_title('A distribution chart made with Seaborn');<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.11697574893009986, 'fraction_numerical': 0.005706134094151213, 'mean_word_length': 5.9504950495049505, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '398396', 'license': '0BSD', 'n_tokens_mistral': 236, 'n_tokens_neox': 228, 'n_words': 79, 'path': 'src/notebooks/seaborn-title-customization.ipynb', 'repo_name': 's-lasch/The-Python-Graph-Gallery', 'size': '701'}