parameters: (self, workspace_name: str, index: int, axis: int,
                                  errors: bool)
return_statement: return WorkspacePlotInformation(workspace_name=workspace_name, index=index, axis=axis,
                                          normalised=self._normalised,
                                          errors=errors, label=label)
docstring: Creates a workspace plot information instance (workspace name, index, axis..) from an input
          workspace name, index, axis and errors flag.
          :param workspace_name: List of workspace names
          :param index: List of workspace indices
          :param axis: An integer describing the axis which the workspace and index will be plotted on.
          :param errors: Boolean stating whether errors are to be plotted
          :return: A WorkspacePlotInformation instance desciribng the data to be plotted
docstring_summary: Creates a workspace plot information instance (workspace name, index, axis..) from an input
          workspace name, index, axis and errors flag.
          :param workspace_name: List of workspace names
          :param index: List of workspace indices
          :param axis: An integer describing the axis which the workspace and index will be plotted on.
          :param errors: Boolean stating whether errors are to be plotted
          :return: A WorkspacePlotInformation instance desciribng the data to be plotted
docstring_tokens: Creates a workspace plot information instance ( workspace name index axis .. ) from an input workspace name index axis and errors flag . : param workspace_name : List of workspace names : param index : List of workspace indices : param axis : An integer describing the axis which the workspace and index will be plotted on . : param errors : Boolean stating whether errors are to be plotted : return : A WorkspacePlotInformation instance desciribng the data to be plotted
function: def create_plot_information(self, workspace_name: str, index: int, axis: int,
                                  errors: bool) -> WorkspacePlotInformation:
          """
          Creates a workspace plot information instance (workspace name, index, axis..) from an input
          workspace name, index, axis and errors flag.
          :param workspace_name: List of workspace names
          :param index: List of workspace indices
          :param axis: An integer describing the axis which the workspace and index will be plotted on.
          :param errors: Boolean stating whether errors are to be plotted
          :return: A WorkspacePlotInformation instance desciribng the data to be plotted
          """
          label = self._plot_model._create_workspace_label(workspace_name, index)
          return WorkspacePlotInformation(workspace_name=workspace_name, index=index, axis=axis,
                                          normalised=self._normalised,
                                          errors=errors, label=label)
function_tokens: def create_plot_information ( self , workspace_name : str , index : int , axis : int , errors : bool ) -> WorkspacePlotInformation : label = self . _plot_model . _create_workspace_label ( workspace_name , index ) return WorkspacePlotInformation ( workspace_name = workspace_name , index = index , axis = axis , normalised = self . _normalised , errors = errors , label = label )