fix adhoc metric bug in chord diagram (#9149)

This commit is contained in:
Ville Brofeldt 2020-02-17 06:45:35 +02:00 committed by GitHub
parent f95a867742
commit 114642d78c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1719,7 +1719,7 @@ class ChordViz(BaseViz):
qry = super().query_obj()
fd = self.form_data
qry["groupby"] = [fd.get("groupby"), fd.get("columns")]
qry["metrics"] = [utils.get_metric_name(fd.get("metric"))]
qry["metrics"] = [fd.get("metric")]
return qry
def get_data(self, df: pd.DataFrame) -> VizData: