StevenLe456 commited on
Commit
a204391
·
1 Parent(s): 0444608

Add graph component

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