You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2018/01/12 23:10:21 UTC

[incubator-superset] branch master updated: [line chart] fix time shift color (#4202)

This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 04680e5  [line chart] fix time shift color (#4202)
04680e5 is described below

commit 04680e5ff138f7113a3d655133307049bc91ff3d
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Fri Jan 12 15:10:17 2018 -0800

    [line chart] fix time shift color (#4202)
---
 superset/viz.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/viz.py b/superset/viz.py
index 62e02ac..e89dca9 100644
--- a/superset/viz.py
+++ b/superset/viz.py
@@ -946,7 +946,7 @@ class NVD3TimeSeriesViz(NVD3Viz):
             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:

-- 
To stop receiving notification emails like this one, please contact
['"commits@superset.apache.org" <co...@superset.apache.org>'].