bugfix + betty screenshots

master
Ondřej Hruška 7 years ago
parent fa9a327591
commit 52baf99dd6
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 3
      README.md
  2. BIN
      betty_graph.png
  3. BIN
      betty_txt.png
  4. 2
      profin/__init__.py

@ -41,6 +41,9 @@ inaccuracies or bugs (please report!)
- Simulating account balance with day granularity - Simulating account balance with day granularity
- Plotting results using PyPlot - Plotting results using PyPlot
![betty1](betty_graph.png)
![betty2](betty_txt.png)
## Dependencies ## Dependencies
The script uses NumPy, MatPlotLib and Pandas for plotting. This may be improved in a future version The script uses NumPy, MatPlotLib and Pandas for plotting. This may be improved in a future version

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

@ -257,7 +257,7 @@ class MonthlyIncome(AIncome):
self.ended = True self.ended = True
topay = self.remains topay = self.remains
self.remains = 0 self.remains = 0
return topay return topay if self.monthly > 0 else -topay
self.remains -= abs(self.monthly) self.remains -= abs(self.monthly)
else: else:
return 0 return 0

Loading…
Cancel
Save