[hamster-applet] unused instance attribute
- From: Toms Baugis <tbaugis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hamster-applet] unused instance attribute
- Date: Sun, 13 Jun 2010 13:33:42 +0000 (UTC)
commit 7fe86af724de4c26c234334e2eb5fc7c95c1832a
Author: Toms Bauģis <toms baugis gmail com>
Date: Sun Jun 13 14:24:55 2010 +0100
unused instance attribute
src/hamster/charting.py | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/hamster/charting.py b/src/hamster/charting.py
index 944b1bb..a823707 100644
--- a/src/hamster/charting.py
+++ b/src/hamster/charting.py
@@ -31,7 +31,6 @@ class Bar(graphics.Sprite):
self.height = 0
self.width = 20
- self.vertical = True
self.interactive = True
self.fill = None
@@ -86,7 +85,6 @@ class Chart(graphics.Scene):
self.value_format = value_format
self.graph_interactive = interactive
- self.vertical = True
self.plot_area = graphics.Sprite(interactive = False)
self.add_child(self.plot_area)
@@ -187,7 +185,6 @@ class Chart(graphics.Scene):
for i, (label, bar) in enumerate(zip(self.labels, self.bars)):
bar_width = min(round((self.plot_area.height - y) / (len(self.bars) - i)), self.max_width)
bar.y = y
- bar.vertical = False
bar.height = bar_width
bar.width = self.plot_area.width
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]