From d25a3e006f26c84c052be3dbe7814a52bc70745f Mon Sep 17 00:00:00 2001 From: "Michael K. Borregaard" Date: Mon, 7 Aug 2017 11:40:08 +0200 Subject: [PATCH] Initial commit --- src/backends/gr.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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