parameters: (axes, workspace, *args, **kwargs)
return_statement: return axes.plot(x, y, z, *args, **kwargs)
docstring: 3D plots - line plots
  
      :param axes: class:`matplotlib.axes.Axes3D` object that will do the plotting
      :param workspace: :class:`mantid.api.MatrixWorkspace` or
                        :class:`mantid.api.IMDHistoWorkspace` to extract the data from
      :param zdir: Which direction to use as z ('x', 'y' or 'z') when plotting a 2D set.
      :param indices: Specify which slice of an MDHistoWorkspace to use when plotting. Needs to be a tuple
                      and will be interpreted as a list of indices. You need to use ``slice(None)`` to
                      select which dimension to plot. *e.g.* to select the second axis to plot from a
                      3D volume use ``indices=(5, slice(None), 10)`` where the 5/10 are the bins selected
                      for the other 2 axes.
      :param slicepoint: Specify which slice of an MDHistoWorkspace to use when plotting in the dimension units.
                         You need to use ``None`` to select which dimension to plot. *e.g.* to select the second
                         axis to plot from a 3D volume use ``slicepoint=(1.0, None, 2.0)`` where the 1.0/2.0 are
                         the dimension selected for the other 2 axes.
docstring_summary: 3D plots - line plots
docstring_tokens: 3D plots - line plots
function: def plot(axes, workspace, *args, **kwargs):
      '''
      3D plots - line plots
  
      :param axes: class:`matplotlib.axes.Axes3D` object that will do the plotting
      :param workspace: :class:`mantid.api.MatrixWorkspace` or
                        :class:`mantid.api.IMDHistoWorkspace` to extract the data from
      :param zdir: Which direction to use as z ('x', 'y' or 'z') when plotting a 2D set.
      :param indices: Specify which slice of an MDHistoWorkspace to use when plotting. Needs to be a tuple
                      and will be interpreted as a list of indices. You need to use ``slice(None)`` to
                      select which dimension to plot. *e.g.* to select the second axis to plot from a
                      3D volume use ``indices=(5, slice(None), 10)`` where the 5/10 are the bins selected
                      for the other 2 axes.
      :param slicepoint: Specify which slice of an MDHistoWorkspace to use when plotting in the dimension units.
                         You need to use ``None`` to select which dimension to plot. *e.g.* to select the second
                         axis to plot from a 3D volume use ``slicepoint=(1.0, None, 2.0)`` where the 1.0/2.0 are
                         the dimension selected for the other 2 axes.
      '''
      if isinstance(workspace, mantid.dataobjects.MDHistoWorkspace):
          (normalization, kwargs) = get_normalization(workspace, **kwargs)
          indices, kwargs = get_indices(workspace, **kwargs)
          (x, y, z) = get_md_data1d(workspace, normalization, indices)
      else:
          (wksp_index, distribution, kwargs) = get_wksp_index_dist_and_label(workspace, **kwargs)
          (x, z, _, _) = get_spectrum(workspace, wksp_index, distribution, withDy=False, withDx=False)
          y_val = workspace.getAxis(1).extractValues()[wksp_index]
          y = [y_val for _ in range(len(x))]  # fill x size array with y value
          _set_labels_3d(axes, workspace)
      return axes.plot(x, y, z, *args, **kwargs)
function_tokens: def plot ( axes , workspace , * args , * * kwargs ) : if isinstance ( workspace , mantid . dataobjects . MDHistoWorkspace ) : ( normalization , kwargs ) = get_normalization ( workspace , * * kwargs ) indices , kwargs = get_indices ( workspace , * * kwargs ) ( x , y , z ) = get_md_data1d ( workspace , normalization , indices ) else : ( wksp_index , distribution , kwargs ) = get_wksp_index_dist_and_label ( workspace , * * kwargs ) ( x , z , _ , _ ) = get_spectrum ( workspace , wksp_index , distribution , withDy = False , withDx = False ) y_val = workspace . getAxis ( 1 ) . extractValues ( ) [ wksp_index ] y = [ y_val for _ in range ( len ( x ) ) ] # fill x size array with y value _set_labels_3d ( axes , workspace ) return axes . plot ( x , y , z , * args , * * kwargs )