Merge pull request #1307 from wkearn/pyplot_legend_style
Add linestyle argument to the legend
This commit is contained in:
commit
5b85cd83f2
@ -1236,6 +1236,7 @@ function py_add_legend(plt::Plot, sp::Subplot, ax)
|
|||||||
PyPlot.plt[:Line2D]((0,1),(0,0),
|
PyPlot.plt[:Line2D]((0,1),(0,0),
|
||||||
color = py_color(_cycle(series[:fillcolor],1)),
|
color = py_color(_cycle(series[:fillcolor],1)),
|
||||||
linewidth = py_dpi_scale(plt, clamp(series[:linewidth], 0, 5)),
|
linewidth = py_dpi_scale(plt, clamp(series[:linewidth], 0, 5)),
|
||||||
|
linestyle = py_linestyle(:path,series[:linestyle]),
|
||||||
marker = py_marker(series[:markershape]),
|
marker = py_marker(series[:markershape]),
|
||||||
markeredgecolor = py_markerstrokecolor(series),
|
markeredgecolor = py_markerstrokecolor(series),
|
||||||
markerfacecolor = py_markercolor(series)
|
markerfacecolor = py_markercolor(series)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user