entropy25 commited on
Commit
edd6b0d
·
verified ·
1 Parent(s): d162a62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -139,7 +139,7 @@ def main():
139
  with col1:
140
  with st.container():
141
  st.markdown('<div class="chart-container">', unsafe_allow_html=True)
142
- total_chart = create_total_production_chart(df, time_view)
143
  st.plotly_chart(total_chart, use_container_width=True)
144
  st.markdown('</div>', unsafe_allow_html=True)
145
 
@@ -158,7 +158,7 @@ def main():
158
  if selected_materials:
159
  with st.container():
160
  st.markdown('<div class="chart-container">', unsafe_allow_html=True)
161
- materials_chart = create_materials_trend_chart(df, time_view, selected_materials)
162
  st.plotly_chart(materials_chart, use_container_width=True)
163
  st.markdown('</div>', unsafe_allow_html=True)
164
 
@@ -167,7 +167,7 @@ def main():
167
 
168
  with st.container():
169
  st.markdown('<div class="chart-container">', unsafe_allow_html=True)
170
- shift_chart = create_shift_trend_chart(df, time_view)
171
  st.plotly_chart(shift_chart, use_container_width=True)
172
  st.markdown('</div>', unsafe_allow_html=True)
173
 
 
139
  with col1:
140
  with st.container():
141
  st.markdown('<div class="chart-container">', unsafe_allow_html=True)
142
+ total_chart = create_total_production_chart(df, time_view, lang)
143
  st.plotly_chart(total_chart, use_container_width=True)
144
  st.markdown('</div>', unsafe_allow_html=True)
145
 
 
158
  if selected_materials:
159
  with st.container():
160
  st.markdown('<div class="chart-container">', unsafe_allow_html=True)
161
+ materials_chart = create_materials_trend_chart(df, time_view, selected_materials, lang)
162
  st.plotly_chart(materials_chart, use_container_width=True)
163
  st.markdown('</div>', unsafe_allow_html=True)
164
 
 
167
 
168
  with st.container():
169
  st.markdown('<div class="chart-container">', unsafe_allow_html=True)
170
+ shift_chart = create_shift_trend_chart(df, time_view, lang)
171
  st.plotly_chart(shift_chart, use_container_width=True)
172
  st.markdown('</div>', unsafe_allow_html=True)
173