pastas.plotting.bokeh.Bokeh =========================== .. toctree:: :hidden: /api/pastas/plotting/bokeh/Bokeh.plot /api/pastas/plotting/bokeh/Bokeh.results .. py:class:: pastas.plotting.bokeh.Bokeh(model) Extension class for interactive bokeh figures for pastas Models. .. rubric:: Examples Register extension:: ps.extensions.register_bokeh() INFO: Registered bokeh plotting methods in Model class, e.g. `ml.bokeh.plot()`. Then plot and save the figure as html:: fig = ml.bokeh.results() fig.write_html("results_figure.html") .. rubric:: Notes The `bokeh` extension is registered in the `Model` class by calling the `register_bokeh()` function. To work in Juptyer notebooks, the `bokeh.io.output_notebook()` function should be called before plotting. The `bokeh` extension is not registered by default, and should be called explicitly. Check the bokeh documentation for more information on how to interact with the plots. .. !! processed by numpydoc !! Methods ------- .. autoapisummary:: pastas.plotting.bokeh.Bokeh.plot pastas.plotting.bokeh.Bokeh.results