From 534c7799e5a7f06af90856934214d168da47cf29 Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Sun, 17 Jun 2018 22:20:20 +0200 Subject: [PATCH] fix markercolor as vector on pyplot --- src/backends/pyplot.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backends/pyplot.jl b/src/backends/pyplot.jl index 0110d086..3d72ab12 100644 --- a/src/backends/pyplot.jl +++ b/src/backends/pyplot.jl @@ -1270,8 +1270,8 @@ function py_add_legend(plt::Plot, sp::Subplot, ax) linewidth = py_dpi_scale(plt, clamp(get_linewidth(series), 0, 5)), linestyle = py_linestyle(:path, get_linestyle(series)), marker = py_marker(series[:markershape]), - markeredgecolor = py_markerstrokecolor(series), - markerfacecolor = series[:marker_z] == nothing ? py_markercolor(series) : py_color(series[:markercolor][0.5]) + markeredgecolor = py_color(get_markerstrokecolor(series), get_markerstrokealpha(series)), + markerfacecolor = series[:marker_z] == nothing ? py_color(get_markercolor(series), get_markeralpha(series)) : py_color(series[:markercolor][0.5]) ) else series[:serieshandle][1]