Problems with Animation

I don’t have PyPlot so can’t check, but to narrow down the problem I would recommend:

  1. Running the code from the REPL if you are currently running it from Atom/Juno, IJulia, or some other environment;
  2. Running the code with the default GR backend (i.e. comment out plotly()) to see whether it’s backend specific
  3. Running the code in a new environment with only Plots installed (you seem to have a lot of packages in your environment which is generally discouraged, unless you really all need them at the same time you should split your work up into project-specific environments with only those packages installed that you actually need)