Two charts instead of one with Interpolations examples


Copy/pasting the example from gives me two charts instead of one. What am I doing wrong?


The lectures shows,


Hi @Janek thanks for posting here

I can’t reproduce this. When I run the example code, it looks the same as it does in the lecture.

Let’s see if we can figure this out. Will you please let me know the version of Plots and PlotlyJS that you have?

You can check this by running Pkg.installed(package_name)

When I do that I get

julia> Pkg.installed("Plots")

julia> Pkg.installed("PlotlyJS")



No + after the PlotlyJS version.


Hmm, so that doesn’t seem to be the problem.

Do you get the same issue if you run this code from the Julia REPL instead of the juptyer notebook?

Another thing we can check is to see if anything different happens if you split the library loading and plotting commands across cells like I did. I can’t think of why that would matter, but it is a difference between our two notebooks.