Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/charts.py
diff options
context:
space:
mode:
authorAgustin Zubiaga <aguzubiaga97@gmail.com>2012-02-02 19:35:56 (GMT)
committer Agustin Zubiaga <aguzubiaga97@gmail.com>2012-02-02 19:35:56 (GMT)
commit57090e294249d20de98fc692163e82aa0813d64c (patch)
tree4844fa0fd8895585e210975db6ca18e89fc389f4 /charts.py
parentdabbcdd767db828f62a91897526bfea66cc44966 (diff)
Small bugs fixed...
Changes: * PieChart Button is now the default active button * gettext bugs fixed * pep8 & pylint fixes Signed-off-by: Agustin Zubiaga <aguzubiaga97@gmail.com>
Diffstat (limited to 'charts.py')
-rw-r--r--charts.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/charts.py b/charts.py
index 0d0afef..e291d2b 100644
--- a/charts.py
+++ b/charts.py
@@ -4,7 +4,7 @@
# charts.py by:
# Agustin Zubiaga <aguzubiaga97@gmail.com>
# Gonzalo Odiard <godiard@gmail.com>
-# Manuel QuiƱones <manuq@laptop.org>
+# Manuel QuiƱones <manuq@laptop.org>
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -113,7 +113,8 @@ class Chart(gobject.GObject):
self.options["legend"] = {"hide": "False"}
chart = pycha.pie.PieChart(self.surface, self.options)
print sg.chart_data
- self.dataSet = [(data[0], [[0, data[1]]]) for data in sg.chart_data]
+ self.dataSet = [(data[0],
+ [[0, data[1]]]) for data in sg.chart_data]
chart.addDataset(self.dataSet)
chart.render()