From 22f69a99e2cbd15d09af7577ad2a03bd4b6345be Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Sat, 5 May 2018 20:42:47 +0200 Subject: [PATCH] remove cfuncind in gr_draw_markers --- src/backends/gr.jl | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/backends/gr.jl b/src/backends/gr.jl index 76fd32b8..ad235940 100644 --- a/src/backends/gr.jl +++ b/src/backends/gr.jl @@ -353,7 +353,6 @@ function gr_draw_markers(series::Series, x, y, msize, mz) msi = _cycle(msize, i) shape = _cycle(shapes, i) cfunc = isa(shape, Shape) ? gr_set_fillcolor : gr_set_markercolor - cfuncind = isa(shape, Shape) ? GR.setfillcolorind : GR.setmarkercolorind # draw a filled in shape, slightly bigger, to estimate a stroke if series[:markerstrokewidth] > 0 @@ -1040,10 +1039,6 @@ function gr_display(sp::Subplot{GRBackend}, w, h, viewport_canvas) end if series[:markershape] != :none - if series[:marker_z] != nothing - zmin, zmax = extrema(series[:marker_z]) - GR.setspace(zmin, zmax, 0, 90) - end gr_draw_markers(series, x, y, clims) end