From 7e40d8af835f29237437bf145bf0dd9693407b45 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Thu, 11 Jan 2018 15:58:54 -0800 Subject: [PATCH] [line chart] fix time shift color --- superset/viz.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/viz.py b/superset/viz.py index 6f4d76c66c4a7..c5d098893899f 100644 --- a/superset/viz.py +++ b/superset/viz.py @@ -939,7 +939,7 @@ def to_series(self, df, classed='', title_suffix=''): if isinstance(series_title, string_types): series_title += title_suffix elif title_suffix and isinstance(series_title, (list, tuple)): - series_title = series_title + (title_suffix,) + series_title = text_type(series_title[-1]) + title_suffix values = [] for ds in df.index: