LuisLozano commited on
Commit
992545a
1 Parent(s): 860967c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,5 +36,5 @@ if st.button('Calculate Present Value'):
36
  plt.xlabel('Period')
37
  plt.ylabel('Cashflow')
38
  for i, cf in enumerate(cashflows):
39
- plt.annotate(f'{cf:,.2f}', (i+1, cf), textcoords="offset points", xytext=(0,n), ha='center')
40
  st.pyplot(plt)
 
36
  plt.xlabel('Period')
37
  plt.ylabel('Cashflow')
38
  for i, cf in enumerate(cashflows):
39
+ plt.annotate(f'{cf:,.2f}', (i, cf), textcoords="offset points", xytext=(0,n), ha='center')
40
  st.pyplot(plt)