Module reahl.web.plotly¶
Support for including plotly.py figures on a web page.
Chart¶
- class reahl.web.plotly.Chart(view, figure, css_id, read_check=None, write_check=None)¶
A Widget displays a plotly Figure.
- Parameters
view – (See
reahl.web.fw.Widget
)figure – A fully constructed plotly Figure.
css_id – A unique id for this Chart
read_check – (See
reahl.web.fw.Widget
)write_check – (See
reahl.web.fw.Widget
)
- contents¶
The contents of the graph. You can use this as
- get_js(context=None)¶
Override this method if your Widget needs JavaScript to be activated on the browser side.