-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about 'viewer.plot()' and 'input()' in example tri2Dinput.py #947
Comments
The purpose of the As to the crash or non-response, please tell us what example you're talking about. |
And if you press return? Have you run |
If I press return, the program terminates (plot window closes) with 'Process finished with exit code 0'. I haven't tired examples/diffusion/mesh1D.py yet. Thank you for sharing this resource. |
That's as expected |
The example code contains the following two lines
viewer.plot()
input("finished")
If comment out
input("finished")
, the plot will pop out and automatically close.If keep
input("finished")
, the plot stays but the plot window crashes (not responding).Can anyone help me with this issue to keep the plot window open and not crash?
Can you also explain what exactly this 'input' function does? (The source code is too complex for me to understand.)
The text was updated successfully, but these errors were encountered: