diff options
author | Agustin Zubiaga <aguzubiaga97@gmail.com> | 2012-02-02 19:35:56 (GMT) |
---|---|---|
committer | Agustin Zubiaga <aguzubiaga97@gmail.com> | 2012-02-02 19:35:56 (GMT) |
commit | 57090e294249d20de98fc692163e82aa0813d64c (patch) | |
tree | 4844fa0fd8895585e210975db6ca18e89fc389f4 /charts.py | |
parent | dabbcdd767db828f62a91897526bfea66cc44966 (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.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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() |