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

Figure widget camera FOV and figure camera traits aren't consistent #206

Open
owenlamont opened this issue Nov 18, 2018 · 0 comments
Open

Comments

@owenlamont
Copy link

owenlamont commented Nov 18, 2018

I noticed when setting the figure widget camera FOV with the following code (which does seem to work):

import ipyvolume as ipv
fig = ipv.figure(camera_fov=30.0)
ipv.show()
print(f"{fig.camera_fov}, {fig.camera.traits}")

The camera traits for the same figure widget show a different FOV.

fov

Is this inconsistency a bug or are these FOVs different?

I'm using the Anaconda installs on MacOS with the following versions:

ipyvolume 0.5.1
pythreejs 2.0.2
Python 3.7.1

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

No branches or pull requests

1 participant