From 2f14c37c598cba677a2c67cd9f16370345b01f1b Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Wed, 26 Jun 2019 13:04:14 +0200 Subject: [PATCH] remove unnecessary lines --- src/backends/pyplot.jl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/backends/pyplot.jl b/src/backends/pyplot.jl index e5424a01..eec1e6ca 100644 --- a/src/backends/pyplot.jl +++ b/src/backends/pyplot.jl @@ -1296,10 +1296,6 @@ function py_add_legend(plt::Plot, sp::Subplot, ax) handles = [] for series in series_list(sp) if should_add_to_legend(series) - - lc = get_linecolor(series, clims) - lc = isa(lc, ColorGradient) ? lc[0.5] : lc - # add a line/marker and a label push!(handles, if series[:seriestype] == :shape || series[:fillrange] != nothing pypatches."Patch"(