def set_panel_data(self, data, panel_id=None):
        """Set the entire data of the specified panel in the App.

        Args:
            data: the data to set
            panel_id (None): the optional ID of the panel to clear.
                If not provided, the ``ctx.panel_id`` will be used
        """
        return self._ctx.trigger(
            "set_panel_data",
            params=self._create_panel_params(panel_id, data=data),
        )
Set the entire data of the specified panel in the App.

        Args:
            data: the data to set
            panel_id (None): the optional ID of the panel to clear.
                If not provided, the ``ctx.panel_id`` will be used
        
fiftyone/operators/operations.py