Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions +nla/+net/+result/NetworkResultPlotParameter.m
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,15 @@ function brainFigureButtonCallback(network1, network2)
brain_plot.drawBrainPlots()
waitbar(0.95);
close(wait_popup);

if ispc
%On windows, plots somehow get drawn offscreen.
%We have a function to pin it to the location of the app window that generates it, but
%don't have access to the parent figure in this function.
%So we'll make a mock one with valid position as a temp hack fix for now (ADE 20250619)
mockParentUI = struct('Position', [100 400 100 100]);
nla.gfx.moveFigToParentUILocation(gcf, mockParentUI);
end
end

% Return a struct. It's either this or a long array. Since matlab doesn't do dictionaries, we're doing this
Expand Down
Loading