Skip to content

Commit d49cb97

Browse files
committed
Update explanation for table
1 parent 70b4fe7 commit d49cb97

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

streamlit_app.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
df = be.get_trend_df_styled(location, column)
2020
st.dataframe(df, hide_index=True)
21+
st.caption("Tip: click a column header to sort.")
2122

2223

2324
with compare_tab:
@@ -35,9 +36,6 @@
3536
fig = viz.get_compare_scatterplot(year1, year2, column, location)
3637
st.plotly_chart(fig)
3738

38-
with open("text/table.md") as table_file:
39-
st.write(table_file.read().format(var=column, year1=year1, year2=year2))
40-
4139
df = be.get_compare_df_styled(year1, year2, column)
4240
st.dataframe(df, hide_index=True)
4341

@@ -91,5 +89,5 @@
9189
)
9290
st.dataframe(df, hide_index=True)
9391

94-
with about_tab, open("text/about.md") as about_file:
92+
with about_tab, open("about.md") as about_file:
9593
st.write(about_file.read())

0 commit comments

Comments
 (0)