The rolling mean line is displayed incorrectly when the plot scrolls to the right (after 200 episodes). This is because the rolling mean is calculated only on the data that is displayed (also it is zero-padded in the beginning). This change refactors the episode history class from the ground up and fixes the plotting issues.
The rolling mean line is displayed incorrectly when the plot scrolls to the right (after 200 episodes). This is because the rolling mean is calculated only on the data that is displayed (also it is zero-padded in the beginning). This change refactors the episode history class from the ground up and fixes the plotting issues.