]> code.communitydata.science - cdsc_reddit.git/blobdiff - visualization/tsne_vis.py
fix bug in viz.
[cdsc_reddit.git] / visualization / tsne_vis.py
index c192d215d1d325f38f8963efe7e09c90eb1716ef..a644ecf5ae7c77f9b1b753b94e83b2839bb17903 100644 (file)
@@ -16,7 +16,7 @@ def base_plot(plot_data):
 
     subreddit_dropdown = alt.binding_select(options=sorted(plot_data.subreddit))
 
-    cluster_click_select = alt.selection_single(on='click,',fields=['cluster'], bind=cluster_dropdown, name=' ')
+    cluster_click_select = alt.selection_single(on='click',fields=['cluster'], bind=cluster_dropdown, name=' ')
     # cluster_select = alt.selection_single(fields=['cluster'], bind=cluster_dropdown, name='cluster')
     # cluster_select_and = cluster_click_select & cluster_select
     #

Community Data Science Collective || Want to submit a patch?