You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/03/11 17:51:34 UTC

[GitHub] [incubator-superset] elukey commented on issue #7006: World map viz not working in 0.29rc7

elukey commented on issue #7006: World map viz not working in 0.29rc7
URL: https://github.com/apache/incubator-superset/issues/7006#issuecomment-471649492
 
 
   The following change (live hacked on the host) works fine for all our wold map graphs:
   
   `
   diff --git a/superset/viz.py b/superset/viz.py
   index 068a70dc..f24f063f 100644
   --- a/superset/viz.py
   +++ b/superset/viz.py
   @@ -1742,7 +1742,7 @@ class WorldMapViz(BaseViz):
                ndf = df[cols]
                # df[metric] will be a DataFrame
                # because there are duplicate column names
   -            ndf['m1'] = df[metric].iloc[:, 0]
   +            ndf['m1'] = df[metric].iloc[:]
                ndf['m2'] = ndf['m1']
            else:
                if secondary_metric:
   `

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org