Skip to content

Commit

Permalink
Merge pull request #1787 from greimel/gre/gr-axis-color
Browse files Browse the repository at this point in the history
GR: use correct attribute for axis color
  • Loading branch information
daschw authored Oct 14, 2018
2 parents f5b793f + b04e6ff commit cbc965d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backends/gr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cbc965d

Please sign in to comment.