[bubble-chart] Fixing issue w/ metric names (#5237)

This commit is contained in:
John Bodley 2018-06-18 15:50:49 -07:00 committed by GitHub
parent d483ed121c
commit 5c106b9a20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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]]