ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/VHbb/python/StackMaker.py
(Generate patch)

Comparing UserCode/VHbb/python/StackMaker.py (file contents):
Revision 1.4 by peller, Mon Oct 22 14:33:42 2012 UTC vs.
Revision 1.5 by peller, Thu Oct 25 09:49:58 2012 UTC

# Line 176 | Line 176 | class StackMaker:
176          allStack.GetXaxis().SetTitle('')
177          yTitle = 'Entries'
178          if not '/' in yTitle:
179 <            yAppend = '%s' %(allStack.GetXaxis().GetBinWidth(1))
179 >            yAppend = '%.2f' %(allStack.GetXaxis().GetBinWidth(1))
180              yTitle = '%s / %s' %(yTitle, yAppend)
181          allStack.GetYaxis().SetTitle(yTitle)
182          allStack.GetXaxis().SetRangeUser(self.xMin,self.xMax)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines