Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Wrong Legend for lines with Arrow in PGFPlotsX #4160

Closed
szcf-weiya opened this issue Mar 29, 2022 · 0 comments · Fixed by #4161
Closed

[BUG] Wrong Legend for lines with Arrow in PGFPlotsX #4160

szcf-weiya opened this issue Mar 29, 2022 · 0 comments · Fixed by #4161

Comments

@szcf-weiya
Copy link

Details

plot(rand(10,2), label=["1" "2"], color=["blue" "red"], arrow=true)

image

the color in the legend for line 2 is wrong, and also, its arrow symbol is missed in the legend.

Backends

pgfplotsx

Versions

Plots.jl version: v1.25.6
Backend version (]st -m <backend(s)>): v1.4.1
Output of versioninfo():

Julia Version 1.7.0
Commit 3bf9d17731 (2021-11-30 12:12 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i5-6300HQ CPU @ 2.30GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, skylake)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants