pastas.plotting.bokeh.Bokeh.plot#

Bokeh.plot(tmin=None, tmax=None, height=300, width=600, show_plot=True)[source]#

Plot the observations and model simulation.

Parameters
  • tmin (pd.Timestamp, optional) – start time for model simulation, by default None

  • tmax (pd.Timestamp, optional) – end time for model simulation, by default None

  • height (int, optional) – height of the plot, by default 500

  • width (int, optional) – width of the plot, by default 800

  • show_plot (bool, optional) – Show the plot (i.e., in Jupyter Notebooks), by default True

Returns

p – Bokeh figure with the observations and model simulation.

Return type

bokeh.plotting.figure

Examples

>>> ps.extensions.register_bokeh()
INFO: Registered bokeh plotting methods in Model class, e.g. `ml.bokeh.plot()`.
>>>
>>> fig = ml.bokeh.plot()