PEATDB/Ekin/Titration.py
def doMultipleHistograms(cls, fig, recs, bins=20, title='', xlabel=None, ylabel=None, color=None,
                         subplots=True, colors=False, xticks=True, yticks=True, xlim=None):
        """Do a pylab histogram of a dict of 1 or more dicts """
        subplots=[]
        dim=int(math.ceil(len(recs)/2.0))
        i=1
        for r in recs:
            if len(recs[r])==0:
                i=i+1
                continue
            ax = fig.add_subplot(dim,2,i)
            cls.plotHistograms(ax, recs[r], title=r, bins=bins, xlabel=xlabel,ylabel=ylabel,
                                xticks=xticks, yticks=yticks, xlim=xlim)
            i=i+1

        fig.subplots_adjust(hspace=0.4)
        return fig
Do a pylab histogram of a dict of 1 or more dicts 
Do a pylab histogram of a dict of 1 or more dicts
Do a pylab histogram of a dict of 1 or more dicts
def doMultipleHistograms(cls, fig, recs, bins=20, title='', xlabel=None, ylabel=None, color=None,
                         subplots=True, colors=False, xticks=True, yticks=True, xlim=None):
        subplots=[]
        dim=int(math.ceil(len(recs)/2.0))
        i=1
        for r in recs:
            if len(recs[r])==0:
                i=i+1
                continue
            ax = fig.add_subplot(dim,2,i)
            cls.plotHistograms(ax, recs[r], title=r, bins=bins, xlabel=xlabel,ylabel=ylabel,
                                xticks=xticks, yticks=yticks, xlim=xlim)
            i=i+1
        fig.subplots_adjust(hspace=0.4)
        return fig
def doMultipleHistograms ( cls , fig , recs , bins = 20 , title = '' , xlabel = None , ylabel = None , color = None , subplots = True , colors = False , xticks = True , yticks = True , xlim = None ) : subplots = [ ] dim = int ( math . ceil ( len ( recs ) / 2.0 ) ) i = 1 for r in recs : if len ( recs [ r ] ) == 0 : i = i + 1 continue ax = fig . add_subplot ( dim , 2 , i ) cls . plotHistograms ( ax , recs [ r ] , title = r , bins = bins , xlabel = xlabel , ylabel = ylabel , xticks = xticks , yticks = yticks , xlim = xlim ) i = i + 1 fig . subplots_adjust ( hspace = 0.4 ) return fig
Do a pylab histogram of a dict of 1 or more dicts
Do a pylab histogram of a dict of 1 or more dicts
"""Do a pylab histogram of a dict of 1 or more dicts """
cls
fig
recs
bins
title
xlabel
ylabel
color
subplots
colors
xticks
yticks
xlim