This is an automated email from the ASF dual-hosted git repository. johnbodley 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 5c106b9 [bubble-chart] Fixing issue w/ metric names (#5237) 5c106b9 is described below commit 5c106b9a2029ce306d210f0535418c77ddaf0cf1 Author: John Bodley <4567245+john-bod...@users.noreply.github.com> AuthorDate: Mon Jun 18 15:50:49 2018 -0700 [bubble-chart] Fixing issue w/ metric names (#5237) --- superset/viz.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/superset/viz.py b/superset/viz.py index 3376421..2665b8b 100644 --- a/superset/viz.py +++ b/superset/viz.py @@ -947,9 +947,9 @@ class BubbleViz(NVD3Viz): return d def get_data(self, df): - df['x'] = df[[self.x_metric]] - df['y'] = df[[self.y_metric]] - df['size'] = df[[self.z_metric]] + df['x'] = df[[utils.get_metric_name(self.x_metric)]] + df['y'] = df[[utils.get_metric_name(self.y_metric)]] + df['size'] = df[[utils.get_metric_name(self.z_metric)]] df['shape'] = 'circle' df['group'] = df[[self.series]]