kumify/mood
Kumi 71c34db6d8
refactor(mood/stats): streamline and optimize visualizations
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.
2024-03-24 16:28:10 +01:00
..
management Initial commit 2020-12-27 18:49:54 +01:00
static/mood Reworked statistics with HoloViews/Bokeh 2021-02-21 20:13:22 +01:00
templates/mood Basic activity statistics 2021-03-03 08:39:26 +01:00
templatetags Handle empty database in mood template tags 2021-03-01 07:12:15 +01:00
__init__.py Initial commit 2020-12-27 18:49:54 +01:00
admin.py Initial commit 2020-12-27 18:49:54 +01:00
apps.py Initial commit 2020-12-27 18:49:54 +01:00
features.py Move nav sections to respective apps 2021-10-24 17:45:23 +02:00
forms.py Make activities not required for mood status 2021-01-04 07:38:28 +01:00
models.py Order activities by name by default 2021-03-03 10:35:54 +01:00
statistics.py refactor(mood/stats): streamline and optimize visualizations 2024-03-24 16:28:10 +01:00
tests.py Initial commit 2020-12-27 18:49:54 +01:00
urls.py Basic activity statistics 2021-03-03 08:39:26 +01:00
views.py Basic activity statistics 2021-03-03 08:39:26 +01:00