thak123 commited on
Commit
d26f33a
1 Parent(s): 4eb49a7

Update index.py

Browse files
Files changed (1) hide show
  1. index.py +2 -3
index.py CHANGED
@@ -134,12 +134,11 @@ app.layout = dbc.Container([
134
 
135
  # callback decorator
136
  @app.callback(
137
-
138
  Output('line-graph-1', 'figure'),
 
139
  Output('line-graph-2', 'figure'),
140
  Output('line-graph-3', 'figure'),
141
  Output('line-graph-4', 'figure'),
142
- Output('bar-graph-1','figure'),
143
  Input("topic-selector", "value"),
144
  Input ("domain-selector", "value"),
145
  Input('date-range', 'start_date'),
@@ -226,7 +225,7 @@ def update_output(selected_topic, selected_domain, start_date, end_date):
226
  line_fig_3.update_traces(line_color='#004D40')
227
  line_fig_4.update_traces(line_color='#D81B60')
228
 
229
- return line_fig_1, line_fig_2, line_fig_3, line_fig_4, bar_fig_1
230
 
231
  # return line_fig_1
232
 
 
134
 
135
  # callback decorator
136
  @app.callback(
 
137
  Output('line-graph-1', 'figure'),
138
+ Output('bar-graph-1','figure'),
139
  Output('line-graph-2', 'figure'),
140
  Output('line-graph-3', 'figure'),
141
  Output('line-graph-4', 'figure'),
 
142
  Input("topic-selector", "value"),
143
  Input ("domain-selector", "value"),
144
  Input('date-range', 'start_date'),
 
225
  line_fig_3.update_traces(line_color='#004D40')
226
  line_fig_4.update_traces(line_color='#D81B60')
227
 
228
+ return line_fig_1, bar_fig_1, line_fig_2, line_fig_3, line_fig_4
229
 
230
  # return line_fig_1
231