diff options
author | Martin Dengler <martin@martindengler.com> | 2009-02-21 21:21:42 (GMT) |
---|---|---|
committer | Martin Dengler <martin@martindengler.com> | 2009-02-21 21:21:42 (GMT) |
commit | b3d53953dff14410408736ef933dbe58661f74e5 (patch) | |
tree | a8d8fd44973c351d20079fae345a6f99b547ea1d /dataseries.py | |
parent | 566a2e09fb49a9c455b0a105346c4e35ea2e5e05 (diff) |
pylint cleanups
Diffstat (limited to 'dataseries.py')
-rw-r--r-- | dataseries.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dataseries.py b/dataseries.py index b077c7a..284fc87 100644 --- a/dataseries.py +++ b/dataseries.py @@ -33,7 +33,7 @@ def _central_moment(moment, mean, data, previous_moment=None): class DataSeries(gobject.GObject): - """changable data and their moments""" + """encapsulates changable numeric data and their moments""" __gsignals__ = { 'data-changed': (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, ([])), @@ -41,7 +41,8 @@ class DataSeries(gobject.GObject): def __init__(self, series_name=None, series_color=None): gobject.GObject.__init__(self) - self.series_name = series_name if series_name is not None else profile.get_nick_name() + self.series_name = series_name \ + if series_name is not None else profile.get_nick_name() self.data_length = 40 self.shrink_by = 1 self.data_moments = (0, 1, 2, 3) |