fix multiple series
This commit is contained in:
parent
e498d091cd
commit
5a07c4917e
@ -270,7 +270,7 @@ function pgf_series(sp::Subplot, series::Series)
|
|||||||
# add to legend?
|
# add to legend?
|
||||||
if i == 1 && sp[:legend] != :none && should_add_to_legend(series)
|
if i == 1 && sp[:legend] != :none && should_add_to_legend(series)
|
||||||
if d[:fillrange] != nothing
|
if d[:fillrange] != nothing
|
||||||
# we add a series
|
push!(style, "forget plot")
|
||||||
push!(series_collection, pgf_fill_legend_hack(d, args))
|
push!(series_collection, pgf_fill_legend_hack(d, args))
|
||||||
else
|
else
|
||||||
kw[:legendentry] = d[:label]
|
kw[:legendentry] = d[:label]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user