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

gradient division warning when rendering volume #39

Open
chrisjsewell opened this issue Aug 1, 2017 · 1 comment
Open

gradient division warning when rendering volume #39

chrisjsewell opened this issue Aug 1, 2017 · 1 comment

Comments

@chrisjsewell
Copy link
Contributor

I get the warning:

GitHub/ipyvolume/ipyvolume/serialize.py:43: RuntimeWarning: invalid value encountered in true_divide
gradient = gradient / np.sqrt(gradient[0]**2 + gradient[1]**2 + gradient[2]**2)

It may be to do with the fact that I have areas of my cube that are all np.nan, but I haven't tested yet

@andrewssobral
Copy link

The same issue for me:
Screen_Shot_2018_09_20_at_11_22_17
Have we any news on this?

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

2 participants