From 57090e294249d20de98fc692163e82aa0813d64c Mon Sep 17 00:00:00 2001 From: Agustin Zubiaga Date: Thu, 02 Feb 2012 19:35:56 +0000 Subject: Small bugs fixed... Changes: * PieChart Button is now the default active button * gettext bugs fixed * pep8 & pylint fixes Signed-off-by: Agustin Zubiaga --- (limited to 'charts.py') 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 # Gonzalo Odiard -# Manuel QuiƱones +# Manuel QuiƱones # 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() -- cgit v0.9.1