From 5a07c4917ef781ad576a037fa631848b7acc219a Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Fri, 6 Apr 2018 18:37:57 +0200 Subject: [PATCH] fix multiple series --- src/backends/pgfplots.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/pgfplots.jl b/src/backends/pgfplots.jl index 6c8929a5..51eb2565 100644 --- a/src/backends/pgfplots.jl +++ b/src/backends/pgfplots.jl @@ -270,7 +270,7 @@ function pgf_series(sp::Subplot, series::Series) # add to legend? if i == 1 && sp[:legend] != :none && should_add_to_legend(series) if d[:fillrange] != nothing - # we add a series + push!(style, "forget plot") push!(series_collection, pgf_fill_legend_hack(d, args)) else kw[:legendentry] = d[:label]