jupyter-widgets / pythreejs

A Jupyter - Three.js bridge
https://pythreejs.readthedocs.io
Other
951 stars 188 forks source link

voxel_painter example runs with errors #98

Closed karelin closed 7 years ago

karelin commented 7 years ago

In the example notebook voxel_painter.ipynb there are few errors when creating a material (or other object with color).

As far as I've find out, the bug is related to use of integer hex value for a color, while in ipywidgets library (I have ver. 6.0.0 installed with Anaconda) the string value, like 'blue' or '#feb74c' is expected.

When I've changed color specifications from ints to strings, the example was at least runnable (though with a warning and without interactivity in original three.js demo).

vidartf commented 7 years ago

This should now be fixed via #88. Please reopen if there's anything I missed.