nmwsharp / polyscope

A C++ & Python viewer for 3D data like meshes and point clouds
https://polyscope.run
MIT License
1.76k stars 190 forks source link

Example ps.error not working in python #277

Open JPLost opened 3 months ago

JPLost commented 3 months ago

On page https://polyscope.run/py/features/messages/ the code example on last line does not work. Does not print error message to Polyscope window. Python 3.9 and PyCharm 2024.1.1 (Community Edition)


# Generating an error.
# The UI will block and show this error immediately. After 
# the error is dismissed, the call will return.
ps.error("Resistance is futile.");