PlotlyWidget.add_traits

PlotlyWidget.add_traits(**traits)

Dynamically add trait attributes to the Widget.