def pop(self, name):
        """Removes the plot from this manager and returns it.

        Args:
            name: the name of a plot

        Returns:
            the :class:`fiftyone.core.plots.base.ResponsivePlot`
        """
        if name not in self._plots:
            raise ValueError("No plot with name '%s'" % name)

        plot = self._plots.pop(name)
        self._aggs.pop(name, None)

        plot.disconnect()

        if not self._plots:
            self.disconnect()

        return plot
Removes the plot from this manager and returns it.

        Args:
            name: the name of a plot

        Returns:
            the :class:`fiftyone.core.plots.base.ResponsivePlot`
        
fiftyone/core/plots/manager.py