JuliaAcademy/DataScience

boxplot gives error for statistics plot

Closed this issue · 2 comments

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.

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")

Just updated the notebook, this should be resolved!