mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
fix Tk gui from jupyter
This commit is contained in:
parent
ca3cee02c3
commit
b113ec48ed
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user