def showEnergyDist(self, data, labels, wk=None, plottype=None, title=None, early=None): if self.norun: return pt = plottype if pt == None: pt = "DRAWENERGYDIST" if not self.isGraphing(pt): return if early is not None: self.graphBeforeEndOfFF(pt, early) dv1 = Graphs.DrawEnergyDist(data, labels, wk=wk, title=title) if plottype is not None: dv1.plottype = plottype self._sendplot(dv1)