pastas.modelplots.Plotting.summary_pdf#

Plotting.summary_pdf(tmin=None, tmax=None, fname=None, dpi=150, results_kwargs=None, diagnostics_kwargs=None)[source]#

Create a PDF file (A4) with the results and diagnostics plot.

Parameters
  • tmin (str or pd.Timestamp, optional) –

  • tmax (str or pd.Timestamp, optional) –

  • 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