widgetti / ipyvolume

3d plotting for Python in the Jupyter notebook based on IPython widgets using WebGL
MIT License
1.95k stars 236 forks source link

ValueError when running example scales.ipynb #362

Open MartinBubel opened 3 years ago

MartinBubel commented 3 years ago

When running scales.ipynb I get a ValueError in cell 3:
ValueError: array should be of shape (...,3) or (...,4), not (500,)

It would also be cool the get an example for how to use to color argument in ipyvolume.pylab.scatter for colors relative to a fourth variable, i.e. to plot 4-dimensional data. I tried to do so but all the markers are rendered white.