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

Legend marker does not appear when first y value is NaN on scatter #3996

Closed
LilithHafner opened this issue Dec 11, 2021 · 0 comments · Fixed by #4328
Closed

Legend marker does not appear when first y value is NaN on scatter #3996

LilithHafner opened this issue Dec 11, 2021 · 0 comments · Fixed by #4328
Labels

Comments

@LilithHafner
Copy link
Contributor

Details

For example, scatter(1:3, [NaN, 2, 3]) produces
Screen Shot 2021-12-11 at 11 37 28 AM
While scatter(1:3, [1, NaN, 3]) produces
Screen Shot 2021-12-11 at 11 38 34 AM
in Atom.

Backends

This bug occurs on ( insert x below )

Backend yes no untested
gr (default) x
pyplot x
plotlyjs x
pgfplotsx x
unicodeplots x
inspectdr x
gaston x

Versions

Plots.jl version: [91a5bcdd] Plots v1.23.6
Backend version (]st -m <backend(s)>):
pkg> st -m gr
No Matches in ~/.julia/dev/all/Manifest.toml
Output of versioninfo():

Julia Version 1.7.0
Commit 3bf9d17731 (2021-11-30 12:12 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin19.5.0)
  CPU: Intel(R) Core(TM) i5-8210Y CPU @ 1.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, skylake)
Environment:
  JULIA_EDITOR = atom  -a
  JULIA_NUM_THREADS = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants