seaborn documentation code example

Example 1: seaborn

#pip install seaborn

#conda install seaborn

import seaborn as sns

#Seaborn is a Python data visualization library based on matplotlib
#It provides a high-level interface for drawing attractive and informative statistical graphics.

#Example Gallery
#https://seaborn.pydata.org/examples/index.html

Example 2: captions overlap in seaborn plot jupyter

ax = sns.countplot(x="Column", data=ds)

ax.set_xticklabels(ax.get_xticklabels(), rotation=40, ha="right")
plt.tight_layout()
plt.show()

Example 3: seaborn documentation

sns.relplot(x="total_bill", y="tip", col="time",
            hue="smoker", style="smoker", size="size",
            data=tips)