(self)
| 138 | return None |
| 139 | |
| 140 | def update_plot(self): |
| 141 | self.fig.clear() |
| 142 | ax = self.fig.add_subplot(111) # Creates a new subplot |
| 143 | ax.pie([self.income, self.expense], labels=['Income', 'Expense'], autopct='%1.1f%%') |
| 144 | self.canvas.draw() |
| 145 | |
| 146 | def update_table(self, tree, transactions): |
| 147 | for i in tree.get_children(): |
no test coverage detected