StevenLe456 commited on
Commit
ec49702
·
1 Parent(s): e6569b4

Added figure key argument

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def visualize_stats(input_value):
49
  def create_stat_figs(val):
50
  if val == "Monkey's Age":
51
  return html.Div([
52
- dcc.Graph(px.box(df, x="monkey_age", y="cue_rate"))
53
  ])
54
 
55
  def main():
 
49
  def create_stat_figs(val):
50
  if val == "Monkey's Age":
51
  return html.Div([
52
+ dcc.Graph(figure=px.box(df, x="monkey_age", y="cue_rate"))
53
  ])
54
 
55
  def main():