diff options
Diffstat (limited to 'deluge/plugins/Stats/deluge/plugins/stats/graph.py')
-rw-r--r-- | deluge/plugins/Stats/deluge/plugins/stats/graph.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/deluge/plugins/Stats/deluge/plugins/stats/graph.py b/deluge/plugins/Stats/deluge/plugins/stats/graph.py index d58af1fab..e87148e70 100644 --- a/deluge/plugins/Stats/deluge/plugins/stats/graph.py +++ b/deluge/plugins/Stats/deluge/plugins/stats/graph.py @@ -69,7 +69,7 @@ class Graph(object): self.mean_selected = True self.legend_selected = True self.max_selected = True - self.black = (0, 0, 0,) + self.black = (0, 0, 0) self.interval = 2 # 2 secs self.text_bg = (255, 255, 255, 128) # prototyping self.set_left_axis() @@ -83,7 +83,7 @@ class Graph(object): 'label': label, 'line': line, 'fill': fill, - 'color': color + 'color': color, } def set_stats(self, stats): @@ -273,7 +273,8 @@ class Graph(object): self.ctx.line_to( int(right - (len(values) - 1) * step), - bottom) + bottom, + ) self.ctx.close_path() def draw_value_poly(self, values, color, max_value, bounds, fill=False): |