Note
Click here to download the full example code
Mauna Loa Atmospheric Carbon Dioxide¶
Hello world
import seaborn as sns
from etudes.datasets import mauna_loa_load_dataframe
data = mauna_loa_load_dataframe(base_dir="../../datasets")
g = sns.relplot(x='date', y='average', kind="line",
data=data, height=5, aspect=1.5, alpha=0.8)
g.set_ylabels(r"average $\mathrm{CO}_2$ (ppm)")
Out:
<seaborn.axisgrid.FacetGrid object at 0x7f6be00a6f98>
Total running time of the script: ( 0 minutes 1.990 seconds)