The default behavior for adding and solving with noisemodels has changed from Pastas 1.5. Find more information here


Plotting.plot(tmin=None, tmax=None, oseries=True, simulation=True, ax=None, figsize=None, legend=True, **kwargs)[source]#

Make a plot of the observed and simulated series.

  • tmin (str or pandas.Timestamp, optional) –

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

  • oseries (bool, optional) – True to plot the observed time series.

  • simulation (bool, optional) – True to plot the simulated time series.

  • ax (matplotlib.axes.Axes, optional) – Axes to add the plot to.

  • figsize (tuple, optional) – Tuple with the height and width of the figure in inches.

  • legend (bool, optional) – Boolean to determine to show the legend (True) or not (False).


ax – matplotlib axes with the simulated and optionally the observed time series.

Return type



>>> ml.plot()