You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You need to erase/comment the following lines: plot!(Shape([],[]),color=6,label=yi)
the Shape method there doesn't work anymore.
my workaround to plot the legend correctly was:
years_of_interst = ["2010-02","2020-02"]
...
if si==states_of_interest[end]
violin!([si], curprices,alpha=0.8,side=:right,color=7,label=yi)
else
violin!([si], curprices,alpha=0.8,side=:right,color=7,label="")
end
same for the other year. Check that I changed the type of the year_of_interest so that the label kwarg works.
When executing the last cell of the "Plot 1: Symmetric violin plots and annotations" section, the notebook throws the following error:
I'm using Julia 1.6.0. Same happens to you apparently :)
The text was updated successfully, but these errors were encountered: