Open jusevitch opened 2 years ago
Use IPython with ipython --gui qt
or %gui qt
when using a REPL. Also I just setup a conda env on conda-forge with Python 3.10 with VTK also from conda-forge and am not able to reproduce your problem on an Ubuntu 20.04 system.
Calling
mplot.show()
successfully plots a figure, but when I close the figure GUI the Python REPL hangs forever. Ctrl+C and Ctrl+D have no effect, and I'm forced to kill the terminal and restart the REPL.Minimum working examples:
Simple Example
Longer example (Taken from the MayaVi website)
Environment Details
Conda environment.yml file:
(for Python v3.8--I can provide one for v3.9 if needed)