environmentaltools.graphics.timeseries

environmentaltools.graphics.timeseries(data: DataFrame, variable: str, ax=None, file_name: str = None)[source]

Plots the time series of the variable

Parameters:
  • data (*) – time series

  • variable (*) – variable

  • ax (*) – axis for the plot or None. Defaults to None.

  • file_name (*) – name of the file to save the plot or None to see plots on the screen. Defaults to None.

Returns:

axis for the plot or None

Return type:

  • ax (matplotlib.axis)