fix markercolor in legend for marker_z with st = :path

This commit is contained in:
Daniel Schwabeneder 2018-03-27 14:24:26 +02:00
parent 3753ab1b55
commit a5f7c1b867

View File

@ -1255,7 +1255,7 @@ function py_add_legend(plt::Plot, sp::Subplot, ax)
linestyle = py_linestyle(:path,series[:linestyle]), 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 = series[:marker_z] == nothing ? py_markercolor(series) : py_color(series[:markercolor][0.5])
) )
else else
series[:serieshandle][1] series[:serieshandle][1]