PlotlyWidget.on_widget_constructed

static PlotlyWidget.on_widget_constructed(callback)

Registers a callback to be called when a widget is constructed.

The callback must have the following signature: callback(widget)