bugfix + betty screenshots
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
## 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 |
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user