remove cfuncind in gr_draw_markers

This commit is contained in:
Daniel Schwabeneder 2018-05-05 20:42:47 +02:00
parent 4ee5539e3d
commit 22f69a99e2

View File

@ -353,7 +353,6 @@ function gr_draw_markers(series::Series, x, y, msize, mz)
msi = _cycle(msize, i) msi = _cycle(msize, i)
shape = _cycle(shapes, i) shape = _cycle(shapes, i)
cfunc = isa(shape, Shape) ? gr_set_fillcolor : gr_set_markercolor 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 # draw a filled in shape, slightly bigger, to estimate a stroke
if series[:markerstrokewidth] > 0 if series[:markerstrokewidth] > 0
@ -1040,10 +1039,6 @@ function gr_display(sp::Subplot{GRBackend}, w, h, viewport_canvas)
end end
if series[:markershape] != :none 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) gr_draw_markers(series, x, y, clims)
end end