pastas.plotting.plotly.Plotly#
- class pastas.plotting.plotly.Plotly(model)#
Extension class for interactive plotly figures for pastas Models.
Examples
Register extension:
ps.extensions.register_plotly_extension()
INFO: Registered plotly plotting methods in Model class, e.g. ml.plotly.plot().
Then plot and save the figure as html:
fig = ml.plotly.results() fig.write_html("results_figure.html")