pyplot: lw in legend scales with legendfont
This commit is contained in:
parent
d8308f0ba2
commit
d43eca1aef
@ -1317,7 +1317,7 @@ function py_add_legend(plt::Plot, sp::Subplot, ax)
|
||||
elseif series[:seriestype] in (:path, :straightline, :scatter)
|
||||
PyPlot.plt."Line2D"((0,1),(0,0),
|
||||
color = py_color(single_color(get_linecolor(series, clims)), get_linealpha(series)),
|
||||
linewidth = py_thickness_scale(plt, clamp(get_linewidth(series), 0, 5)),
|
||||
linewidth = py_thickness_scale(plt, clamp(sp[:legendfontsize]/10, 0, 5)),
|
||||
linestyle = py_linestyle(:path, get_linestyle(series)),
|
||||
marker = py_marker(_cycle(series[:markershape], 1)),
|
||||
markersize = py_thickness_scale(plt, sp[:legendfontsize]),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user