Closed shaksham95 closed 3 years ago
Hey,
In Video 13, I am facing issues while trying to plot the violin plots side by side using the side keyword. Below is the code that I am using:
side
## data: 2020-02 ca = CA_df[!,Symbol("2020-02")] ny = NY_df[!,Symbol("2020-02")] fl = FL_df[!,Symbol("2020-02")] ## plot violin(ny, legend=true, alpha=0.8, label="New York", side=:left) violin!(ca, alpha=0.8, label="California", side=:left) violin!(fl, alpha=0.8, label="Florida", side=:left) ## data: 2010-02 ny = NY_df[!, Symbol("2010-02")] ca = CA_df[!, Symbol("2010-02")] fl = FL_df[!, Symbol("2010-02")] ## plot violin!(ny, legend=false, alpha=0.8, side=:right) violin!(ca, alpha=0.8, side=:right) violin!(fl, alpha=0.8, side=:right)
Expected Outcome:
Actual Outcome:
The same goes for the next plot, with the label being the year.
What am I doing wrong? Can anyone please help?
I also fixed this, thanks again!
Hey,
In Video 13, I am facing issues while trying to plot the violin plots side by side using the
side
keyword. Below is the code that I am using:Expected Outcome:
Actual Outcome:
The same goes for the next plot, with the label being the year.
Expected Outcome:
Actual Outcome:
What am I doing wrong? Can anyone please help?