JuliaPlots/Plots.jl
Voir sur GitHub[BUG] legend entry for empty series on pgfplotsx
Open
#2 795 ouverte le 17 juin 2020
PGFPlotsXbuggood first issuewontfix
Métriques du dépôt
- Stars
- (1 943 stars)
- Métriques de merge PR
- (Merge moyen 3j 12h) (2 PRs mergées en 30 j)
Description
Details
plot([],[], label="hello")
can sometimes be useful to add a legend-entry without adding to the plot. It works on other backends, but not on pgfplotsx. Instead, nothing is plotted and no legend entry is added.
Just wanted to report. It's inconsistent but easily circumvented.
Thanks for your work!
Backends
This bug occurs on ( insert x below )
| Backend | yes | no | untested |
|---|---|---|---|
| gr (default) | x | ||
| pyplot | |||
| plotly | |||
| plotlyjs | |||
| pgfplotsx | x | ||
| inspectdr |
Versions
Plots.jl version: 1.4.1
Backend version (]st -m):
Output of versioninfo():