Skip to content

Commit fe74b6d

Browse files
authored
Update for Julia 1: Use dot broadcast (#337)
1 parent bb5111e commit fe74b6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/box_plots.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ using PlotlyJS
22

33
function box1()
44
y0 = rand(50)
5-
y1 = rand(50) + 1
5+
y1 = rand(50) .+ 1
66
trace1 = box(;y=y0)
77
trace2 = box(;y=y1)
88
data = [trace1, trace2]

0 commit comments

Comments
 (0)