daavoo / pyntcloud

pyntcloud is a Python library for working with 3D point clouds.
http://pyntcloud.readthedocs.io
MIT License
1.42k stars 224 forks source link

`plot` doesn't plot in IPython console in Spyder IDE #219

Closed ivan-v-kush closed 5 years ago

ivan-v-kush commented 6 years ago

plot doesn't plot in IPython console in Spyder IDE

Code:

cloud = PyntCloud(df)
...
cloud.plot()

Get message, but nothing plots =((

loading images...
~/projects/ml/lib/python3.5/site-packages/pythreejs/traits.py:175: UserWarning: 64-bit data types not supported for WebGL data, casting to 32-bit.
  warnings.warn('64-bit data types not supported for WebGL '
Renderer(camera=PerspectiveCamera(aspect=1.6, fov=90.0, position=(359.5, 1918.5, 610.707568359375), quaternion…
HBox(children=(Label(value='Point size:'), FloatSlider(value=127.9, max=1279.0, step=1.2790000000000001), Labe…
skariel commented 6 years ago

I have the same issue but on a Jupyter notebook... (ubuntu 18)

daavoo commented 5 years ago

Hola @IvanKush ! Thanks for reporting. Unfortunately, the issue here is directly not related topyntcloyd. The issue is that Spyder's ipython console does not support displaying html (See answer from spyder mantainer: https://stackoverflow.com/questions/47075946/replicate-jupyter-html-output-using-ipython-and-spyder-instead/47084058#47084058).

You should be able to see the result of the plot in a Jupyter notebook.

You could move the issue to spyder https://github.com/spyder-ide as a feature request

daavoo commented 5 years ago

Hola @skariel It looks like your issue is not exactly the same because @IvanKush issue is related to spyder, not jupyter notebooks. Could you please open a different issue given a little more details about your problem?

rsj007 commented 2 years ago

r notebooks. Could you please open a different issue given a little more details about your problem?

I also meet this issue. Have you solved it?