From: <jb...@us...> - 2009-11-20 06:48:53
|
Revision: 394 http://pytrainer.svn.sourceforge.net/pytrainer/?rev=394&view=rev Author: jblance Date: 2009-11-20 06:48:45 +0000 (Fri, 20 Nov 2009) Log Message: ----------- Fix for weekview, remove graph navigation bar Modified Paths: -------------- pytrainer/trunk/pytrainer/gui/drawArea.py Modified: pytrainer/trunk/pytrainer/gui/drawArea.py =================================================================== --- pytrainer/trunk/pytrainer/gui/drawArea.py 2009-11-20 06:44:01 UTC (rev 393) +++ pytrainer/trunk/pytrainer/gui/drawArea.py 2009-11-20 06:48:45 UTC (rev 394) @@ -153,7 +153,7 @@ if xvalue in yvalues[key]: height = yvalues[key][xvalue] else: - height = 0.000000000001 + height = 0.0000000000000000001 yheights[index] = height cellText.append([self.fmt(x) for x in yheights]) axis.bar(xvals, yheights, bottom=ybottoms, width=width, color=color, align='edge', label=key) @@ -171,8 +171,8 @@ canvas = FigureCanvasGTK(figure) # a gtk.DrawingArea canvas.show() self.vbox.pack_start(canvas, True, True) - toolbar = NavigationToolbar(canvas, self.window) - self.vbox.pack_start(toolbar, False, False) + #toolbar = NavigationToolbar(canvas, self.window) + #self.vbox.pack_start(toolbar, False, False) for child in self.vbox.get_children(): logging.debug('Child available: '+str(child)) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |