When I run the ‘Plot a cortical parcellation’ part of the sample code, can not properly load the cortical picture, the code runs after the completion of the picture out for a while and then immediately disappear!
Hello @wxj120 and welcome to the forum!
It is likely that the Python interpreter simply exits as the end of the script is reached. To prevent this from happening, either run your code in an interactive Python window, or invoke Python with the -i
parameter, i.e., python -i your_script.py
Best wishes,
Richard
Thanks for your reply. When i try to run the script in the terminal, the figure could be normal loaded.
1 Like
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.