lair.plotter.seasonalPlot#

lair.plotter.seasonalPlot(data, param='CH4', units='ppm', ax=None)[source]#

Plot the seasonal cycle of data by year.

Parameters:
  • data (pd.DataFrame) – Data to plot.

  • param (str, optional) – Parameter to plot. Defaults to ‘CH4’.

  • units (str, optional) – Units of the parameter for the ylabel. Defaults to ‘ppm’.

  • ax (plt.Axes | None, optional) – Axis to plot on. Defaults to None.

Returns:

plt.Axes – Axis with the plot

Return type:

Axes