superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: Fix #7056 'Unhashable type' in paired t-test chart (#7076)
Date Sat, 20 Apr 2019 17:26:43 GMT
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 5db20e3  Fix #7056 'Unhashable type' in paired t-test chart (#7076)
5db20e3 is described below

commit 5db20e3545fb7386073b055991f3aa55d41c17f1
Author: Maxime Beauchemin <maximebeauchemin@gmail.com>
AuthorDate: Sat Apr 20 10:26:37 2019 -0700

    Fix #7056 'Unhashable type' in paired t-test chart (#7076)
---
 superset/viz.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/viz.py b/superset/viz.py
index f9e64f9..57386b9 100644
--- a/superset/viz.py
+++ b/superset/viz.py
@@ -2558,7 +2558,7 @@ class PairedTTestViz(BaseViz):
         """
         fd = self.form_data
         groups = fd.get('groupby')
-        metrics = fd.get('metrics')
+        metrics = self.metric_labels
         df = df.pivot_table(
             index=DTTM_ALIAS,
             columns=groups,


Mime
View raw message