summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seguin <guillaume@segu.in>2008-05-17 12:11:53 +0200
committerGuillaume Seguin <guillaume@segu.in>2008-05-17 12:11:53 +0200
commita805851a87275e96738fd9152554ce544780080e (patch)
tree1cde754f88c262c48222367a9c5580d4bc1b9016
parentac35f05c06d1cbd3481a8a91b49cc538bb9f4ef6 (diff)
downloadgnxtlogger-a805851a87275e96738fd9152554ce544780080e.tar.gz
gnxtlogger-a805851a87275e96738fd9152554ce544780080e.tar.bz2
* Fix typo
-rw-r--r--nxtlogger/gui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nxtlogger/gui.py b/nxtlogger/gui.py
index 65f1f6d..4ab8803 100644
--- a/nxtlogger/gui.py
+++ b/nxtlogger/gui.py
@@ -352,8 +352,8 @@ class GNXTLogger:
def draw_chart (self):
columns = filter (lambda row: row[2], self.chart_columns_store)
- columns = map (lambda row: (row[0], row[1]), columns)
- y_data_sets = map (lambda c: (c[3], self.get_data_column (c[0])),
+ columns = map (lambda row: (row[0], row[3]), columns)
+ y_data_sets = map (lambda c: (c[1], self.get_data_column (c[0])),
columns)
x_data = self.get_data_column (0)
width = self.get_option ("width")