diff --git a/src/backends/gr.jl b/src/backends/gr.jl index 4f871e6a..9615868f 100644 --- a/src/backends/gr.jl +++ b/src/backends/gr.jl @@ -306,7 +306,7 @@ end function gr_draw_markers(series::Series, x, y, msize, mz) shapes = series[:markershape] if shapes != :none - for i=1:length(x) + for i=linearindices(x) msi = _cycle(msize, i) shape = _cycle(shapes, i) cfunc = isa(shape, Shape) ? gr_set_fillcolor : gr_set_markercolor