AMKhakbaz commited on
Commit
021fca8
·
verified ·
1 Parent(s): abc40b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -376,7 +376,7 @@ if main_option == "Tabulation":
376
  st.subheader("Frequency Table")
377
  st.dataframe(frequency_df)
378
 
379
- fig = figo('Heatmap', percentile_df.iloc[:-1,:-1], title='Percentage Histogram', xlabel=var1, ylabel=var2, colorscale='Plotly3')
380
  st.plotly_chart(fig, use_container_width=True)
381
 
382
  elif type1 == "Single answer" and type2 == "Multiple answer":
@@ -391,7 +391,7 @@ if main_option == "Tabulation":
391
  st.subheader("Frequency Table")
392
  st.dataframe(frequency_df)
393
 
394
- fig = figo('Heatmap', percentile_df.iloc[:-1,:-1], title='Percentage Histogram', xlabel=var1, ylabel=var2, colorscale='Plotly3')
395
  st.plotly_chart(fig, use_container_width=True)
396
 
397
  else:
@@ -410,7 +410,7 @@ if main_option == "Tabulation":
410
  st.subheader("Frequency Table")
411
  st.dataframe(frequency_df)
412
 
413
- fig = figo('Heatmap', percentile_df.iloc[:-1,:-1], title='Percentage Histogram', xlabel=var1, ylabel=var2, colorscale='Plotly3')
414
  st.plotly_chart(fig, use_container_width=True)
415
 
416
  else:
 
376
  st.subheader("Frequency Table")
377
  st.dataframe(frequency_df)
378
 
379
+ fig = figo('Scatter', percentile_df.iloc[:-1,:], title='Percentage Scatter plot')
380
  st.plotly_chart(fig, use_container_width=True)
381
 
382
  elif type1 == "Single answer" and type2 == "Multiple answer":
 
391
  st.subheader("Frequency Table")
392
  st.dataframe(frequency_df)
393
 
394
+ fig = figo('Scatter', percentile_df.iloc[:-1,:], title='Percentage Scatter plot')
395
  st.plotly_chart(fig, use_container_width=True)
396
 
397
  else:
 
410
  st.subheader("Frequency Table")
411
  st.dataframe(frequency_df)
412
 
413
+ fig = figo('Scatter', percentile_df.iloc[:-1,:], title='Percentage Scatter plot')
414
  st.plotly_chart(fig, use_container_width=True)
415
 
416
  else: