diff --git a/agatecharts/charts/bars.py b/agatecharts/charts/bars.py index b5a0e0b..fec1a7f 100644 --- a/agatecharts/charts/bars.py +++ b/agatecharts/charts/bars.py @@ -58,7 +58,7 @@ def plot(self, table, axes): series_positions, value_column, bar_height, - color=colors.next(), + color=next(colors), linewidth=0, label=value_column_name ) diff --git a/agatecharts/charts/columns.py b/agatecharts/charts/columns.py index acb40d8..7d07962 100644 --- a/agatecharts/charts/columns.py +++ b/agatecharts/charts/columns.py @@ -54,7 +54,7 @@ def plot(self, table, axes): series_positions, value_column, bar_width, - color=colors.next(), + color=next(colors), linewidth=0, label=value_column_name ) diff --git a/agatecharts/charts/lines.py b/agatecharts/charts/lines.py index 7372861..3fdbf51 100644 --- a/agatecharts/charts/lines.py +++ b/agatecharts/charts/lines.py @@ -52,7 +52,7 @@ def plot(self, table, axes): x_column, y_column, linewidth=2, - color=colors.next(), + color=next(colors), label=y_column_name )