Compare Two Sensors#

../_images/regression.png

atmospy components used: set_theme(), load_dataset(), regplot()

import atmospy
atmospy.set_theme()

# Load the example dataset
df = atmospy.load_dataset("air-sensors-pm")

# Plot a pollution rose example for PM2.5
atmospy.regplot(
    df, x="Reference", y="Sensor A",
    ylim=(0, 60),
    color="g",
    # title="Performance of Sensor A vs US EPA FEM Reference"
)