code: def show_workspace_viewer(parent, workspace):
      global __the_workspace_viewer
      if __the_workspace_viewer is None:
          from cellprofiler.gui.workspace_view import WorkspaceView
  
          __the_workspace_viewer = WorkspaceView(parent, workspace)
      else:
          __the_workspace_viewer.set_workspace(workspace)
          __the_workspace_viewer.frame.Show()
  
imports: import wx
  import wx.lib.colourselect
  from ..artist import ColorMixin
label_desc: Use image node_id 1 for calling a global function with example usage: show_workspace_viewer(parent, workspace) without return types