LuisLozano commited on
Commit
f188b57
1 Parent(s): b3d6778

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -62,11 +62,11 @@ st.write("Table with variable rates")
62
 
63
  st.dataframe(new_df)
64
 
65
- #fig, ax = plt.subplots()
66
- #ax.set_title("Investment returns plot")
67
- #ax.set_xlabel("Months")
68
- #ax.set_ylabel("Actual returns")
69
- #ax.plot(new_df["Month"], new_df["Actual returns"])
70
 
71
- #st.pyplot(fig)
72
 
 
62
 
63
  st.dataframe(new_df)
64
 
65
+ fig, ax = plt.subplots()
66
+ ax.set_title("Investment returns plot")
67
+ ax.set_xlabel("Months")
68
+ ax.set_ylabel("Actual returns")
69
+ ax.plot(new_df["Month"], new_df["Actual returns"])
70
 
71
+ st.pyplot(fig)
72