def abu_chart(self, cycle, mass_range=None ,ilabel=True,<EOL>imlabel=True, imlabel_fontsize=<NUM_LIT:8>, imagic=False,<EOL>boxstable=True, lbound=(-<NUM_LIT:12>, <NUM_LIT:0>),<EOL>plotaxis=[<NUM_LIT:0>, <NUM_LIT:0>, <NUM_LIT:0>, <NUM_LIT:0>], show=True, color_map='<STR_LIT>',<EOL>ifig=None,data_provided=False,thedata=None,<EOL>savefig=False,drawfig=None,drawax=None,mov=False,<EOL>path=None):
if ifig == None and not mov:<EOL><INDENT>ifig=cycle<EOL><DEDENT>if type(cycle)==type([]):<EOL><INDENT>self.abu_chartMulti(cycle, mass_range,ilabel,imlabel,imlabel_fontsize,imagic,boxstable,lbound,plotaxis,color_map, path=path)<EOL>return<EOL><DEDENT>plotType=self._classTest()<EOL>if mass_range!=None and mass_range[<NUM_LIT:0>]>mass_range[<NUM_LIT:1>]:<EOL><INDENT>raise IOError("<STR_LIT>")<EOL><DEDENT>if plotType=='<STR_LIT>':<EOL><INDENT>if not data_provided:<EOL><INDENT>cycle=self.se.findCycle(cycle)<EOL><INDENT>nin=zeros(len(self.se.A))<EOL>zin=zeros(len(self.se.Z))<EOL><DEDENT>yin=self.get(cycle, '<STR_LIT>')<EOL>isom=self.se.isomeric_states<EOL>masses = self.se.get(cycle,'<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>cycle=cycle <EOL>yin=thedata[<NUM_LIT:0>]<EOL>isom=self.se.isomeric_states<EOL>masses = thedata[<NUM_LIT:1>]<EOL>
Plots an abundance chart

Parameters
----------
cycle : string, integer or list
    The cycle we are looking in. If it is a list of cycles,
    this method will then do a plot for each of these cycles
    and save them all to a file.
mass_range : list, optional
    A 1x2 array containing the lower and upper mass range.  If
    this is an instance of abu_vector this will only plot
    isotopes that have an atomic mass within this range.  This
    will throw an error if this range does not make sence ie
    [45,2] if None, it will plot over the entire range.  The
    default is None.
ilabel : boolean, optional
    Elemental labels off/on.  The default is True.
imlabel : boolean, optional
    Label for isotopic masses off/on.  The default is True.
imlabel_fontsize : integer, optional
    Fontsize for isotopic mass labels.  The default is 8.
imagic : boolean, optional
    Turn lines for magic numbers off/on.  The default is False.
boxstable : boolean, optional
    Plot the black boxes around the stable elements.  The
    defaults is True.
lbound : tuple, optional
    Boundaries for colour spectrum ploted.  The default is
    (-12,0).
plotaxis : list, optional
    Set axis limit.  If [0, 0, 0, 0] the complete range in (N,Z)
    will be plotted.  It equates to [xMin, xMax, Ymin, Ymax].
    The default is [0, 0, 0, 0].
show : boolean, optional
    Boolean of if the plot should be displayed.  Useful with
    saving multiple plots using abu_chartMulti.  The default is
    True.
color_map : string, optional
    Color map according to choices in matplotlib
    (e.g. www.scipy.org/Cookbook/Matplotlib/Show_colormaps).
    The default is 'jet'.
ifig : integer, optional
    Figure number, if ifig is None it wiil be set to the cycle
    number.  The defaults is None.
savefig : boolean, optional
    Whether or not to save the figure.
    The default is False
drawfig, drawax, mov : optional, not necessary for user to set these variables
    The figure and axes containers to be drawn on, and whether or not a movie is
    being made (only True when se.movie is called, which sets mov to True
    automatically
path: path where to save figure