PlotlyWidget.add_class

PlotlyWidget.add_class(className)

Adds a class to the top level element of the widget.

Doesn’t add the class if it already exists.