mitmath/computational-thinking

week4/02-covid_data.jl Julia-1.5.2: ERROR: plot not defined

sck opened this issue · 6 comments

sck commented

I get this error when i try to run 02-covid_data.jl in Pluto. I thought I was just missing a Pkg.add() but it seems plot() used to be available in earlier versions of Julia, but has been deprecated for quite a while, and I am not sure where the plot() should be coming from. (In the course website you write that you are using Julia 1.5.1.)

You didn't send the error.

plot() is from the Plots.jl package and is not deprecated.

sck commented

error

Error message is in the title of this issue, but here is a screenshot.

When i do Pkg.add('Plots') using Plots I get Multiple definitions for Plots

plots

That seems strange. Delete the new definitions, close the notebook, stop it wirh the x next to its name and open it again maybe?

There's no message from the previous cell with using Plots?

fonsp commented

This should fix it:
7409e78

Try loading the notebook again from the new source:
https://github.com/mitmath/18S191/blob/master/lecture_notebooks/week4/02-covid_data.jl

Does that work?

I have a little problem here :
image