You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that there's currently an issue with displaying integer values (in particular, a numpy array with an integral dtype) in the ipyvolume scatter. The motivation for this is glue-viz/glue-jupyter#449.
You can easily create some data to reproduce this as follows
import ipyvolume as ipv
from numpy.random import randint, random
ints = randint(0, 100, (100,))
ints_as_floats = ints.astype("float64")
floats_1 = random((100,))
floats_2 = random((100,))
If I create a scatter using the quickscatter with the integer array as one of the coordinate values, nothing displays:
But doing the same after converting the dtype of the integer array to float64, the scatter behaves as expected:
The text was updated successfully, but these errors were encountered:
It seems that there's currently an issue with displaying integer values (in particular, a numpy array with an integral dtype) in the ipyvolume scatter. The motivation for this is glue-viz/glue-jupyter#449.
You can easily create some data to reproduce this as follows
If I create a scatter using the quickscatter with the integer array as one of the coordinate values, nothing displays:
But doing the same after converting the dtype of the integer array to
float64
, the scatter behaves as expected:The text was updated successfully, but these errors were encountered: