parameters: (self, layer_index)
return_statement: return axes_creation_arguments
docstring: Load axes creation properties from a particular MantidPlot figure layer
          :param layer_index: Layer index where the axes properties will be retrieved
docstring_summary: Load axes creation properties from a particular MantidPlot figure layer
          :param layer_index: Layer index where the axes properties will be retrieved
docstring_tokens: Load axes creation properties from a particular MantidPlot figure layer : param layer_index : Layer index where the axes properties will be retrieved
function: def _get_axes_creation_arguments(self, layer_index):
          """
          Load axes creation properties from a particular MantidPlot figure layer
          :param layer_index: Layer index where the axes properties will be retrieved
          """
          axes_creation_arguments = []
          layer_text = self.layer_text[layer_index]
          graph_texts = re.findall(self.graph_pattern, layer_text, re.DOTALL)
          for graph_text in graph_texts:
              axes_args = {}
              _, title_line = self.find_option_in_raw_text("PlotTitle", graph_text)[0]
              axes_args["title"] = title_line[1] if title_line else None
              _, axes_titles = self.find_option_in_raw_text("AxesTitles", graph_text)[0]
              axes_args["xAxisTitle"] = axes_titles[1] if axes_titles else None
              axes_args["yAxisTitle"] = axes_titles[2] if axes_titles else None
              axes_args["lines"] = self._get_line_creation_arguments_from_graph_entry(graph_text)
              axes_args["properties"] = self._get_axes_properties_from_graph_entry(graph_text)
              axes_args['legend'] = self._get_legend_properties_from_graph_entry(graph_text)
              axes_creation_arguments.append(axes_args)
          return axes_creation_arguments
function_tokens: def _get_axes_creation_arguments ( self , layer_index ) : axes_creation_arguments = [ ] layer_text = self . layer_text [ layer_index ] graph_texts = re . findall ( self . graph_pattern , layer_text , re . DOTALL ) for graph_text in graph_texts : axes_args = { } _ , title_line = self . find_option_in_raw_text ( "PlotTitle" , graph_text ) [ 0 ] axes_args [ "title" ] = title_line [ 1 ] if title_line else None _ , axes_titles = self . find_option_in_raw_text ( "AxesTitles" , graph_text ) [ 0 ] axes_args [ "xAxisTitle" ] = axes_titles [ 1 ] if axes_titles else None axes_args [ "yAxisTitle" ] = axes_titles [ 2 ] if axes_titles else None axes_args [ "lines" ] = self . _get_line_creation_arguments_from_graph_entry ( graph_text ) axes_args [ "properties" ] = self . _get_axes_properties_from_graph_entry ( graph_text ) axes_args [ 'legend' ] = self . _get_legend_properties_from_graph_entry ( graph_text ) axes_creation_arguments . append ( axes_args ) return axes_creation_arguments