Merge pull request #474 from KristofferC/patch-1

forget plot if no label is provided
This commit is contained in:
Tom Breloff 2016-09-06 10:00:04 -04:00 committed by GitHub
commit 2ca7324a45

View File

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