JuliaPlots/Plots.jl
Ver no GitHub[BUG] legend entry for empty series on pgfplotsx
Open
#2.795 aberto em 17 de jun. de 2020
PGFPlotsXbuggood first issuewontfix
Métricas do repositório
- Stars
- (1.943 stars)
- Métricas de merge de PR
- (Mesclagem média 3d 12h) (2 fundiu PRs em 30d)
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():