JuliaAcademy / DataScience

Data Science in Julia course for JuliaAcademy.com, taught by Huda Nassar
https://juliaacademy.com/p/julia-for-data-science
MIT License
488 stars 256 forks source link

boxplot gives error for statistics plot #20

Closed arisliang closed 3 years ago

arisliang commented 3 years ago

https://juliaacademy.com/courses/937702/lectures/17339512

boxplot(["eruption length"], eruptions, legend=false, size=(200,400), whisker_width=1, ylabel="time in minutes")

gives:

Expects 1 elements in each col of y, found 272.

shaksham95 commented 3 years ago

The following change did the trick for me:

boxplot(eruptions, xlabel="eruption_length", legend=false, size=(200, 400), whisker_width=1, ylabel="ti
me in minutes")
logankilpatrick commented 3 years ago

Just updated the notebook, this should be resolved!