temperatures_plot

temperatures_plot(df: pandas.DataFrame, width: float, height: float) matplotlib.figure.Figure[source]

Generates a plot of temperature data over time.

Parameters:
  • df (pd.DataFrame) – DataFrame containing ‘date’ and ‘temperature’ columns.

  • width (float) – Width of the figure in inches.

  • height (float) – Height of the figure in inches.

Returns:

The generated matplotlib figure.

Return type:

Figure