Skip to content

Commit

Permalink
iscatterplot: fixed missing listing of labels
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeboucas committed Jun 4, 2020
1 parent f084cd9 commit d21cbde
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flaski/apps/routes/iscatterplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@ def iscatterplot(download=None):
}
groups_settings.append(group_dic)
plot_arguments["groups_settings"]=groups_settings

if request.form["labels_col_value"] != "select a column.." :
df=pd.read_json(session["df"])
plot_arguments["available_labels"] = list(set( df[ request.form["labels_col_value"] ].tolist() ))

session["plot_arguments"]=plot_arguments
plot_arguments=read_request(request)
Expand Down

0 comments on commit d21cbde

Please sign in to comment.