pastas.plotting.modelplots.Plotting.summary#

pastas.plotting.modelplots.Plotting.summary(tmin: pandas.Timestamp | str | None = None, tmax: pandas.Timestamp | str | None = None, results_kwargs: dict | None = None, diagnostics_kwargs: dict | None = None) pastas.typing.Figure#

Create a plot with the results and diagnostics plot.

Parameters:
  • tmin (pandas.Timestamp or str, optional) – A string or pandas.Timestamp with the start date for the period (E.g. ‘1980-01-01 00:00:00’). Strings are converted to pandas.Timestamp internally.

  • tmax (pandas.Timestamp or str, optional) – A string or pandas.Timestamp with the end date for the period (E.g. ‘2020-01-01 00:00:00’). Strings are converted to pandas.Timestamp internally.

  • fname (str, optional) – string with the file name / path to store the PDF file.

  • dpi (int, optional) – dpi to save the figure with.

  • results_kwargs (dict, optional) – dictionary passed on to ml.plots.results method.

  • diagnostics_kwargs (dict, optional) – dictionary passed on to ml.plots.diagnostics method.

Returns:

fig

Return type:

matplotlib.pyplot.Figure instance