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

Scatter with 3 length-1 vectors plots in 2D not 3D #3813

Open
3 tasks done
dlfivefifty opened this issue Apr 29, 2024 · 1 comment
Open
3 tasks done

Scatter with 3 length-1 vectors plots in 2D not 3D #3813

dlfivefifty opened this issue Apr 29, 2024 · 1 comment
Labels

Comments

@dlfivefifty
Copy link
Contributor

dlfivefifty commented Apr 29, 2024

  • are you running newest version (version from docs) ?
  • can you reproduce the bug with a fresh environment ? (]activate --temp; add Makie)
  • What platform + GPU are you on? Mac, Radeon Pro

In both CairoMakie and GLMakie the following produces a 2D plot instead of a 3D one:

julia> scatter([1.], [2.], [3.])

display

If I call with length-2 vectors it works fine (eg scatter([1.,2], [2.,3], [3.,4])).

@asinghvi17
Copy link
Member

This is probably because the z component of the bounding box is flat. We need better ways of determining 3D-ness...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants