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
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.