From a5f7c1b8673b308e3215b74e873acbff764419c5 Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Tue, 27 Mar 2018 14:24:26 +0200 Subject: [PATCH] fix markercolor in legend for marker_z with st = :path --- src/backends/pyplot.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/pyplot.jl b/src/backends/pyplot.jl index 24323e72..a485fb75 100644 --- a/src/backends/pyplot.jl +++ b/src/backends/pyplot.jl @@ -1255,7 +1255,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]