Display figures from GUI/console and add a plot on/off flag - #298
Display figures from GUI/console and add a plot on/off flag#298innaamogolonova wants to merge 9 commits into
Conversation
…indow or steals GUI focus
|
@claude review this PR please, outline points of concern. the PR is supposed to address the following two issues:
|
|
Claude finished @innaamogolonova's task in 3m 51s —— View job PR Review — Display figures from GUI/console +
|
|
Addressed the actionable points in c59a8ff and f3600c2:
Left as-is: 1 (no import cycle, and it matches the existing sigprocfunc/eegplot.py → plot_utils precedent) and 4 (plot_channel_locations always shows, which is correct for its only caller). Can change strict layering is preferred. |
|
@claude review the changes that addressed the previous comment. review the state of the PR now and outline any other potential points of concern. |
|
Claude finished @innaamogolonova's task in 4m 43s —— View job PR Review — Follow-up on c59a8ff / f3600c2
Thanks for the quick turnaround — most of the previous review's findings are now cleanly addressed. Rechecking each:
Remaining / new points of concernA.
|
Plotting pop_* functions built a figure but never displayed it from the GUI or eegprep-console. Route every plot wrapper and the topoplot core through a shared show_figures helper, and keep the console's matplotlib non-interactive so display is explicit. Adds a keyword-only plot flag on the plot wrappers: plot='on', plot=True, or omitting it shows the window; plot='off' or plot=False builds and returns the figure without a window; any other value raises ValueError. Updates docstrings and GUI help.