Black Lives Matter. Please consider donating to Black Girls Code today.

The initial trace still visible in all the frames

So I have a heat map animation but for some reason it keeps the starting trace values on the plot with the new frame values. It also resizes to the full plot size and moves with the axis… The original image is not a trace since it does not have any hover info.

I have no clue what is causing this since I’ve made plenty of plots with animation before.

Dec-21-2017 18-23-23

Code for the plot