Daily Average Ozone#
atmospy components used: set_theme()
, load_dataset()
, calendarplot()
import atmospy
import pandas as pd
atmospy.set_theme()
# Load the example dataset
df = atmospy.load_dataset("us-ozone")
# Select a single location
single_site_ozone = df[
df["Local Site Name"] == df["Local Site Name"].unique()[0]
]
atmospy.calendarplot(
data=single_site_ozone,
x="Timestamp Local",
y="Sample Measurement",
freq="day",
cbar=False,
height=2.5,
linewidths=.1
);