Allow blocking execution of plot_alignment() and stc.plot()
See original GitHub issueThe alignment and the Brain
plots are both used in interactive exploration and in non-interactive scripts.
A common annoying issue that I and other users regularly run into is that we write a short script that displays the sensor alignment or a SourceEstimate
, run it (e.g. via the Run
button in VS Code), the window pops up – and immediately disappears. So one then needs to run the script again – this time, with python -i
or after inserting some blocking call like input()
.
It would be great if there was an easier way to ensure a blocking behavior.
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Plotting in a non-blocking way with Matplotlib - Stack Overflow
I have tried using show(block=False) as some people suggest, but all I get is a frozen window. If I simply call show() ,...
Read more >Handling bad channels — MNE 1.2.2 documentation
plot() . This will pause the script while the plot is open, giving you time to mark bad channels before subsequent analysis or...
Read more >mne-python/_3d.py at main - GitHub
"""Plot head, sensor, and source space alignment in 3D. ... surfaces = list() # if no `trans` can't plot mri surfaces ... '`trans=None`...
Read more >Python Stacks, Queues, and Priority Queues in Practice
In this tutorial, you'll take a deep dive into the theory and practice of queues in programming. Along the way, you'll get to...
Read more >Alignment of pgfplots inside subfloats when using tikzplotlib
The axis height and width passed from tikzplotlib to tikz refer to the axis box. But the \includegraphics command's width parameter refers ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah ok! Thought we’d always had this param. In that case – let’s block it 😁👌
I do not mind changing the name if it does the same thing.