Skip to content

Updated violin plot example as per suggestions in issue #7251 #7360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Oct 31, 2016
Prev Previous commit
Next Next commit
Fixed ordering of parameters to np.clip()
  • Loading branch information
DrNightmare committed Oct 29, 2016
commit becbfa45bcdd70a22a4116aa3162c2f0a494deee
2 changes: 1 addition & 1 deletion examples/statistics/customized_violin_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def adjacent_values(vals):
uav = np.clip(uav, q3, vals[-1])
# lower adjacent values
lav = q1 - iqr * 1.5
lav = np.clip(lav, q1, vals[0])
lav = np.clip(lav, vals[0], q1)
return [lav, uav]


Expand Down