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)
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
        
fiftyone/core/plots/base.py