API reference
PlotlyWidget.
close
Close method.
Closes the underlying comm. When the comm is closed, all of the widget views are automatically removed from the front-end.