diff --git a/src/backends/gr.jl b/src/backends/gr.jl index 460b4c68..6cf44e6d 100644 --- a/src/backends/gr.jl +++ b/src/backends/gr.jl @@ -387,8 +387,8 @@ function gr_display(plt::Plot{GRBackend}, clear=true, update=true, c = p[:markercolor] GR.setcolormap(-GR.COLORMAP_GLOWING) for i = 1:length(p[:x]) - if isa(c, ColorGradient) && p[:zcolor] != nothing - ci = round(Int, 1000 + p[:zcolor][i] * 255) + if isa(c, ColorGradient) && p[:marker_z] != nothing + ci = round(Int, 1000 + p[:marker_z][i] * 255) GR.setmarkercolorind(ci) end GR.setmarkersize(d[:markersize][i] / 4.0) diff --git a/test/runtests.jl b/test/runtests.jl index c3da9016..34981015 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -30,7 +30,7 @@ facts("GR") do @fact gr() --> Plots.GRBackend() @fact backend() --> Plots.GRBackend() - @linux_only image_comparison_facts(:gr, skip=[27], eps=img_eps) + @linux_only image_comparison_facts(:gr, skip=[13,27], eps=img_eps) end facts("Plotly") do