From 365197307346d5e04b6515ccc0ea365a269d77b1 Mon Sep 17 00:00:00 2001 From: SG115 Date: Sat, 21 May 2022 02:55:34 +0530 Subject: [PATCH] final --- app.py | 2 +- helper.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app.py b/app.py index e4beeb6..4f2c82a 100644 --- a/app.py +++ b/app.py @@ -31,7 +31,7 @@ user_list.sort() user_list.insert(0, "Overall") selected_user = st.sidebar.selectbox("Show analysis wrt", user_list) - report_pdf = report.create_report(df) + # report_pdf = report.create_report(df) if st.sidebar.button("Show Analysis"): # TOP STATS CARD diff --git a/helper.py b/helper.py index 96414a6..ab6b27a 100644 --- a/helper.py +++ b/helper.py @@ -270,7 +270,7 @@ def daily_timeline(df,selected_user,report): st.write("Below is the Week Activity chart of ",selected_user) st.altair_chart(c, use_container_width=True) - c.save('chart.png') + # c.save('chart.png') # pdfkit.from_file('simple.html', 'out2.pdf') @@ -345,7 +345,7 @@ def week_activity_map(df,selected_user,report): if f==0: st.write("Below is the Week Activity chart of ",selected_user) st.altair_chart(c, use_container_width=True) - c.save('week_activity_map.png') + # c.save('week_activity_map.png') # st.write(busy_day) # c = alt.Chart(busy_day.reset_index()).mark_line().encode( # x='index:T', @@ -464,7 +464,7 @@ def most_common_words(df,selected_user,report): if report==0: st.write("Below is the word frequency chart of ",selected_user) st.altair_chart(c, use_container_width=True) - c.save('word_chart.png') + # c.save('word_chart.png') # return most_common_df def emoji_table(df,selected_user,report): @@ -511,7 +511,7 @@ def emoji_table(df,selected_user,report): st.write("Below is the emoji frequency chart of ",selected_user) st.altair_chart(c, use_container_width=True) - c.save('emoji_chart.png') + # c.save('emoji_chart.png') # Horizontal stacked bar chart # data = pd.melt(emoji_df.reset_index(), id_vars=["index"]) # chart = (