Kumi
71c34db6d8
This commit streamlines mood and activity visualization code in mood/statistics.py for better readability and maintainability. By consolidating similar code blocks, replacing ' extension calls with consistent double quotes, and reformatting large data structures for clarity, we ensure the code is more Pythonic and easier to follow. Additionally, the alterations in how pie charts and mood statistics are generated not only maintain functionality but also reduce cognitive load when navigating the codebase. These changes pave the way for future enhancements and debugging efforts by making the codebase more approachable. |
||
---|---|---|
api | ||
cbt | ||
common | ||
cronhandler | ||
doc | ||
dreams | ||
environment | ||
friends | ||
frontend | ||
gpslog | ||
habits | ||
health | ||
kumify | ||
mood | ||
msgio | ||
.gitignore | ||
INSTALL.md | ||
LICENSE | ||
manage.py | ||
passenger_wsgi.py | ||
requirements.txt | ||
settings.dist.ini | ||
TODO.md |