Merge pull request #1787 from greimel/gre/gr-axis-color

GR: use correct attribute for axis color
This commit is contained in:
Daniel Schwabeneder 2018-10-14 18:39:39 +02:00 committed by GitHub
commit cbc965dc53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -796,12 +796,12 @@ function gr_display(sp::Subplot{GRBackend}, w, h, viewport_canvas)
# axis lines
if xaxis[:showaxis]
gr_set_line(1, :solid, xaxis[:foreground_color_axis])
gr_set_line(1, :solid, xaxis[:foreground_color_border])
GR.setclip(0)
gr_polyline(coords(xspine_segs)...)
end
if yaxis[:showaxis]
gr_set_line(1, :solid, yaxis[:foreground_color_axis])
gr_set_line(1, :solid, yaxis[:foreground_color_border])
GR.setclip(0)
gr_polyline(coords(yspine_segs)...)
end