fschwartzer commited on
Commit
5563ebe
1 Parent(s): 60e8088

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -157,7 +157,8 @@ with tab1:
157
  #ax1.axis('equal') # Equal aspect ratio ensures that pie is drawn as a circle.
158
  fig = go.Figure(data=[go.Pie(labels=labels, values=sizes)])
159
  #st.pyplot(fig1)
160
- st.plotly_chart(fig, theme=None, use_container_width=True)
 
161
 
162
  with tab2:
163
 
@@ -211,8 +212,8 @@ with tab2:
211
  # Display line chart with "period" on X-axis and "Monetary Value" on Y-axis
212
  #col2.line_chart(chart_data.set_index('Period'))
213
  fig = px.line(chart_data, x="Period", y="Monetary Value")
214
- st.plotly_chart(fig, theme=None, use_container_width=True)
215
-
216
  else:
217
  col2.warning('No data available for the selected filters.')
218
 
 
157
  #ax1.axis('equal') # Equal aspect ratio ensures that pie is drawn as a circle.
158
  fig = go.Figure(data=[go.Pie(labels=labels, values=sizes)])
159
  #st.pyplot(fig1)
160
+ #st.plotly_chart(fig, theme=None, use_container_width=True)
161
+ st.plotly_chart(fig, theme=None)
162
 
163
  with tab2:
164
 
 
212
  # Display line chart with "period" on X-axis and "Monetary Value" on Y-axis
213
  #col2.line_chart(chart_data.set_index('Period'))
214
  fig = px.line(chart_data, x="Period", y="Monetary Value")
215
+ #st.plotly_chart(fig, theme=None, use_container_width=True)
216
+ st.plotly_chart(fig, theme=None)
217
  else:
218
  col2.warning('No data available for the selected filters.')
219