Alvianojs commited on
Commit
8297f16
·
1 Parent(s): d9fb209

Troubleshoot mapviz count_df

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -23,6 +23,7 @@ def fetch_data():
23
 
24
  def main():
25
  counts_df = fetch_data()
 
26
  counts_df = remove_previous_view(counts_df)
27
  counts_df = merge_volumes(counts_df)
28
  # st.set_page_config(layout="wide")
@@ -54,7 +55,7 @@ def main():
54
 
55
  if checkbox_two:
56
  st.subheader("Traffic Map")
57
- st.pyplot(calling_map_viz(counts_df))
58
 
59
  if checkbox_three:
60
 
 
23
 
24
  def main():
25
  counts_df = fetch_data()
26
+ counts_df1 = counts_df.copy()
27
  counts_df = remove_previous_view(counts_df)
28
  counts_df = merge_volumes(counts_df)
29
  # st.set_page_config(layout="wide")
 
55
 
56
  if checkbox_two:
57
  st.subheader("Traffic Map")
58
+ st.pyplot(calling_map_viz(counts_df1))
59
 
60
  if checkbox_three:
61