prashantsengar / TimeTracker

Basic Time tracker built with Python. Track what applications you spend your most time on.
16 stars 12 forks source link

Report piechart in Tkinter GUI #9

Open suchintan-p opened 4 years ago

suchintan-p commented 4 years ago

Sample report

prashantsengar commented 4 years ago

@suchintan-p I am getting an error

Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Users\Prashant\AppData\Local\Programs\Python\Python36\lib\tkinter\__init__.py", line 1699, in __call__
    return self.func(*args)
  File "P:\Projects\TimeTracker\Test\track.py", line 31, in <lambda>
    command=lambda:self.create_report())
  File "P:\Projects\TimeTracker\Test\track.py", line 123, in create_report
    subplot.title.set_text("Report")
AttributeError: 'NoneType' object has no attribute 'title'