I don’t have PyPlot so can’t check, but to narrow down the problem I would recommend:
- Running the code from the REPL if you are currently running it from Atom/Juno, IJulia, or some other environment;
- Running the code with the default GR backend (i.e. comment out
plotly()) to see whether it’s backend specific - Running the code in a new environment with only
Plotsinstalled (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)