Spaces:
Runtime error
Runtime error
LuisLozano
commited on
Commit
•
f188b57
1
Parent(s):
b3d6778
Update app.py
Browse files
app.py
CHANGED
@@ -62,11 +62,11 @@ st.write("Table with variable rates")
|
|
62 |
|
63 |
st.dataframe(new_df)
|
64 |
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
|
71 |
-
|
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 |
|