remove unnecessary lines

This commit is contained in:
Daniel Schwabeneder 2019-06-26 13:04:14 +02:00
parent 7f8dc486bb
commit 2f14c37c59

View File

@ -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"(