class_docstr: Base class for :class:`ViewPlot` instances with Plotly backends.
  
  Args:
      widget: a :class:`plotly:plotly.graph_objects.FigureWidget`
      init_view (None): an optional initial
          :class:`fiftyone.core.collections.SampleCollection` to load
code: def __init__(self, widget, init_view=None):
      self._traces = widget.data
  
      ViewPlot.__init__(self)
      PlotlyWidgetMixin.__init__(self, widget)  # must be last
  
      self.init_view = init_view
      if init_view is not None:
          self.connect()
          self.update_view(init_view)
  
imports: import itertools
  from operator import itemgetter
  import numpy
  import eta.core.utils
  import plotly.subplots
  import plotly.graph_objects
  import fiftyone.core.aggregations
  from .base import ViewPlot
  from .plotly import PlotlyWidgetMixin
label_desc: Use image node_id 1 to create a new PlotlyViewPlot object from inherited base classes: PlotlyWidgetMixin, ViewPlot with example: obj = PlotlyViewPlot(widget, init_view)