Skip to content

Commit becbfa4

Browse files
committed
Fixed ordering of parameters to np.clip()
1 parent 08db92d commit becbfa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/statistics/customized_violin_demo.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def adjacent_values(vals):
2727
uav = np.clip(uav, q3, vals[-1])
2828
# lower adjacent values
2929
lav = q1 - iqr * 1.5
30-
lav = np.clip(lav, q1, vals[0])
30+
lav = np.clip(lav, vals[0], q1)
3131
return [lav, uav]
3232

3333

0 commit comments

Comments
 (0)