Review Heatmap [Official Support Thread]

@thalamus, please see my post above:

Hello, I recently realized that my Review Heatmap no longer ignores data before the date that I have it set to. It was working fine up until these last few days and I’m not sure if I did something that messed it up. My streak is not affected of course, but the ‘days learned’ and ‘daily average’ stats are far below what they should be since it’s taking data from as far back as 2016 into account, back before I even used Anki (presumably from some older Anking cards’ scheduling). It’s a small detail, not affecting much at all lol but I just wanted to see if there was a way to fix this issue?

Nevermind, I deleted the add on and reinstalled it and it started working again!

1 Like
  1. Can I change color of “blank” cell, I mean the one that indicates the day with no reviews (for example all of the future days). By default it seems to inherit background color and I want to set my custom color.

  2. Is it possible to set yellow frame around “today” cell?

  3. Is it possible to disable the line with: Daily average, … Current streak? At least in deck screen, but preferably also in Main screen. I disabled Heatmap visibility in Deck screen but this line persist to appear.

Hi, is there a way where I can make the heatmap show the months of that year only? Like the yearly overview, but separated by months

heatmap

2 Likes

Quick PSA for Anki 23.10

If you decide to switch to the FSRS scheduler and choose to reschedule your cards on change (which is something you should carefully consider before doing), please make sure that the Exclude manual reschedules from history option is turned on in Review Heatmap’s settings. Otherwise RH will report all cards rescheduled by FSRS as reviews for the day (so you might end up with a day with hundreds to thousands of repetitions).

(this setting should be turned on by default, but if you’ve been using RH for a few years, you might have upgraded from an earlier version at some point that did not have this setting, yet, and so it might be turned off for you)

1 Like

@gnomek @Winter

No, I’m afraid these options aren’t available at the moment, but they do sound interesting, thanks for the suggestions! I’ll keep a lookout for the demand on this.

2 Likes

I wrote about it. It’s a shame it wasn’t taken care of before people caused themselves grief.

1 Like

Ah wait, I just figured it out! If I disable all my addons, restart, then try and install it works. Very strange bug, guess an addon was clashing and causing it not to install/update?

There is currently a bug. When viewing addon stats (shift clicking stats), the deck filter shows the totals for collection, and the collection filter shows the totals for the current deck. The period for the deck is correct, however. Images attached for proof. Current addon list also added just in case.



image

Thanks, came here for this and found the answer and fix quickly. Had already de-installed Review Heatmap because it showed me thousands of reviews per day (instead of hundreds) due to rescheduling. Luckily, I missed the plugin so much I had to re-install it and look for a fix. :slight_smile:

1 Like

Hey! For those of you who update to Anki ver. 23 12.1 q6 and heatmap not working at all, try removing and reinstalling the add-on, it solved it for me. This is the error log I got, so if you have the same, try reinstalling:

Anki 23.12.1 (1a1d4d54) (ao)
Python 3.9.15 Qt 6.6.1 PyQt 6.6.1
Platform: Windows-10-10.0.19045

When loading Review Heatmap:
Traceback (most recent call last):
File “aqt.addons”, line 245, in loadAddons
File “C:\Users\gusta\AppData\Roaming\Anki2\addons21\1771074083_init_.py”, line 124, in
initializeAddon()
File “C:\Users\gusta\AppData\Roaming\Anki2\addons21\1771074083_init_.py”, line 114, in initializeAddon
from .gui.options import initializeOptions
File “C:\Users\gusta\AppData\Roaming\Anki2\addons21\1771074083\gui\options.py”, line 44, in
from …libaddon.gui.dialog_options import OptionsDialog
File “C:\Users\gusta\AppData\Roaming\Anki2\addons21\1771074083\libaddon\gui\dialog_options.py”, line 48, in
from .basic.dialog_mapped import MappedDialog
File “C:\Users\gusta\AppData\Roaming\Anki2\addons21\1771074083\libaddon\gui\basic\dialog_mapped.py”, line 42, in
from .widgets.qt import *
File “C:\Users\gusta\AppData\Roaming\Anki2\addons21\1771074083\libaddon\gui\basic\widgets\qt.py”, line 41, in
import sip
ModuleNotFoundError: No module named ‘sip’

1 Like

Just out of curiosity: Do you remember if you tried updating manually by checking for add-on updates? (under Tools → Add-ons). I’ve seen a few reports of add-on update issues recently, so I’m starting to wonder if this is a general issue. In this case for instance, Review Heatmap should have definitely been updated (you are using the AnkiWeb build of the add-on, and normally Anki should have updated your add-ons as you upgraded to 23.x).

code to filter fsrs revs:

fsrs_cmd = f"select * from revlog order by id"
fsrs_res = self._db.all(fsrs_cmd)

fsrs_scheds:set = set()
last_fsrs_rid = 0
for fsrs_sch in fsrs_res:
     _rid: int = fsrs_sch[0]
     _type: int = fsrs_sch[8]
     if _type==4:
           if _rid - last_fsrs_rid < 20:
               fsrs_scheds.add(_rid)
               fsrs_scheds.add(last_fsrs_rid)
           last_fsrs_rid =_rid

after:

if _rid in fsrs_scheds:
    continue