fix Tk gui from jupyter

This commit is contained in:
Matthias Hochsteger 2022-05-25 10:28:35 +02:00
parent ca3cee02c3
commit b113ec48ed

View File

@ -30,6 +30,13 @@ def StartGUI():
win.tk.eval( netgen.libngpy._meshing._ngscript)
try:
from IPython import get_ipython
ipython = get_ipython()
ipython.magic('gui tk')
except:
pass
def _Redraw(*args, **kwargs):
if libngpy._meshing._Redraw(*args, **kwargs):
import netgen