Merge pull request #474 from KristofferC/patch-1
forget plot if no label is provided
This commit is contained in:
commit
2ca7324a45
@ -149,6 +149,8 @@ function pgf_series(sp::Subplot, series::Series)
|
|||||||
# add to legend?
|
# add to legend?
|
||||||
if sp[:legend] != :none && should_add_to_legend(series)
|
if sp[:legend] != :none && should_add_to_legend(series)
|
||||||
kw[:legendentry] = d[:label]
|
kw[:legendentry] = d[:label]
|
||||||
|
else
|
||||||
|
push!(style, "forget plot")
|
||||||
end
|
end
|
||||||
|
|
||||||
# function args
|
# function args
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user