def show():
    if '-wthread' in sys.argv or '--gui' in sys.argv:
        pass
    else:
        gui = GUI()
        gui.start_event_loop()
This function has to be called at the end in a stand alone
dataset/ETHPy150Open enthought/mayavi/tvtk/tools/visual.py/show