Merge pull request #1460 from daschw/pyplot-marker_z

PyPlot: fix markercolor in legend for marker_z with st = :path
This commit is contained in:
Daniel Schwabeneder 2018-03-28 10:53:23 +02:00 committed by GitHub
commit 772b79306d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1256,7 +1256,7 @@ function py_add_legend(plt::Plot, sp::Subplot, ax)
linestyle = py_linestyle(:path,series[:linestyle]),
marker = py_marker(series[:markershape]),
markeredgecolor = py_markerstrokecolor(series),
markerfacecolor = py_markercolor(series)
markerfacecolor = series[:marker_z] == nothing ? py_markercolor(series) : py_color(series[:markercolor][0.5])
)
else
series[:serieshandle][1]