An Anki addon to change the pie chart colors in the stats overview window.
The stock version of Anki includes a pie chart at the end of the statistics overview screen, with the deck/collection divided into 'New', 'Suspended+Buried', 'Young+Learning', and 'Mature' sections.
Since I use longer intervals while 'learning' compared to the default options, I've felt it may be better to separate 'Young' and 'Learning' cards. However, vanilla Anki doesn't include this option, so I figured I'd make one!
Notably, as of v1.1, this addon is compatible with both v1 and v2 review scheduler versions!
-
v1.1: Adapted
piegraphs.py
functions (and createdconfig.md
andconfig.json
) to allow user configuration via the addons manager. Compatible with both v1 and v2 scheduler versions. -
v1.0.1: minor formatting updates
-
v1.0: initial release
Native divisions/colors:
Graph with 'learning' cards option enabled (alone):
Graph with 'relearning' cards option enabled (alone):
Graph with both 'learning' and 'relearning' card options enabled:
The addon number for install via the in-program app is 1828603731. To see the addon page, visit here.
Create a folder in your respective addons folder (or clone this one), so that it contains __init__.py and piegraphs.py.
Do not put these in a subfolder; i.e., it should be .../addons_folder/newFolder/files.py
. The meta.json
file should be created automatically by Anki after loading for the first time after install.
Conflicts with other addons: The only ones I imagine are those that also modify the native cardGraph
or _cards
function of anki/stats.py
, declared as anki.stats.Collection.cardGraph
or anki.stats.Collection._cards
. There was a previous conflict with Progress Graphs and Stats for Learned and Matured Cards, but this resolved with some debugging of the function wraps used here.