class_docstr: Base class for plots that can be automatically populated given a
  :class:`fiftyone.core.collections.SampleCollection` instance.
  
  The state of :class:`ViewPlot` instances can also be updated by external
  parties by calling its :meth:`update_view` method.
  
  Args:
      init_view (None): an initial
          :class:`fiftyone.core.collections.SampleCollection` to load
class_docstr_tok: ["Base","class","for","plots","that","can","be","automatically","populated","given","a",":","class",":","`","fiftyone.core.collections.SampleCollection","`","instance",".","The","state","of",":","class",":","`","ViewPlot","`","instances","can","also","be","updated","by","external","parties","by","calling","its",":","meth",":","`","update_view","`","method",".","Args",":","init_view","(","None",")",":","an","initial",":","class",":","`","fiftyone.core.collections.SampleCollection","`","to","load"]
docstr: Updates the plot based on the provided view.
  
  Args:
      view: a :class:`fiftyone.core.collections.SampleCollection`
      agg_results (None): a list of pre-computed aggregation results
docstr_tok: ["Updates","the","plot","based","on","the","provided","view",".","Args",":","view",":","a",":","class",":","`","fiftyone.core.collections.SampleCollection","`","agg_results","(","None",")",":","a","list","of","pre-computed","aggregation","results"]
code: def update_view(self, view, agg_results=None):
      """Updates the plot based on the provided view.
  
      Args:
          view: a :class:`fiftyone.core.collections.SampleCollection`
          agg_results (None): a list of pre-computed aggregation results
      """
      if not self.is_connected:
          return
  
      self._update_view(view, agg_results=agg_results)
  
imports: import logging
  import fiftyone.core.context
  import fiftyone.core.labels
  import fiftyone.core.patches
  import fiftyone.core.video
label_desc: Use image node_id 4 for calling the ViewPlot obj's underlying member method code with example usage: obj.update_view(view, agg_results) without return types