Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aec6fe9

Browse files
committed
Updated the macosx backed figure manager show function to bring the
figure to the front upon execution.
1 parent e6f8993 commit aec6fe9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/_macosx.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3953,6 +3953,7 @@ static void draw_image_user_coords_device_size(CGContextRef cr, CGImageRef im,
39533953
{
39543954
NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
39553955
[window makeKeyAndOrderFront: nil];
3956+
[window orderFrontRegardless];
39563957
[pool release];
39573958
}
39583959
Py_INCREF(Py_None);

0 commit comments

Comments
 (0)