Merge pull request #2262 from daschw/gr-legendfontcolor
allow symbols in GR legendfontcolor
This commit is contained in:
commit
e084c1410c
@ -1526,7 +1526,7 @@ function gr_display(sp::Subplot{GRBackend}, w, h, viewport_canvas)
|
||||
|
||||
lab = series[:label]
|
||||
GR.settextalign(GR.TEXT_HALIGN_LEFT, GR.TEXT_VALIGN_HALF)
|
||||
gr_set_textcolor(sp[:legendfontcolor])
|
||||
gr_set_textcolor(plot_color(sp[:legendfontcolor]))
|
||||
gr_text(xpos, ypos, string(lab))
|
||||
ypos -= dy
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user