def load_workspace(self, name):
        """Loads the saved workspace with the given name.

        Examples::

            import fiftyone as fo
            import fiftyone.zoo as foz

            dataset = foz.load_zoo_dataset("quickstart")

            embeddings_panel = fo.Panel(
                type="Embeddings",
                state=dict(brainResult="img_viz", colorByField="metadata.size_bytes"),
            )
            workspace = fo.Space(children=[embeddings_panel])
            workspace_name = "embeddings-workspace"
            dataset.save_workspace(workspace_name, workspace)

            # Some time later ... load the workspace
            loaded_workspace = dataset.load_workspace(workspace_name)
            assert workspace == loaded_workspace

            # Launch app with the loaded workspace!
            session = fo.launch_app(dataset, spaces=loaded_workspace)

            # Or set via session later on
            session.spaces = loaded_workspace

        Args:
            name: the name of a saved workspace

        Returns:
            a :class:`fiftyone.core.odm.workspace.Space`

        Raises:
            ValueError: if ``name`` is not a saved workspace
        """
        workspace_doc = self._get_workspace_doc(name)
        workspace = workspace_doc.child
        workspace_doc._update_last_loaded_at()
        return workspace
Loads the saved workspace with the given name.

        Examples::

            import fiftyone as fo
            import fiftyone.zoo as foz

            dataset = foz.load_zoo_dataset("quickstart")

            embeddings_panel = fo.Panel(
                type="Embeddings",
                state=dict(brainResult="img_viz", colorByField="metadata.size_bytes"),
            )
            workspace = fo.Space(children=[embeddings_panel])
            workspace_name = "embeddings-workspace"
            dataset.save_workspace(workspace_name, workspace)

            # Some time later ... load the workspace
            loaded_workspace = dataset.load_workspace(workspace_name)
            assert workspace == loaded_workspace

            # Launch app with the loaded workspace!
            session = fo.launch_app(dataset, spaces=loaded_workspace)

            # Or set via session later on
            session.spaces = loaded_workspace

        Args:
            name: the name of a saved workspace

        Returns:
            a :class:`fiftyone.core.odm.workspace.Space`

        Raises:
            ValueError: if ``name`` is not a saved workspace
        
fiftyone/core/dataset.py