Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Macosx backend: tweak to coordinates position #1728

merged 1 commit into from

2 participants


With the current macosx backend, the message that shows the (x,y) coordinates of the cursors keeps getting clipped by the window. This pull request moves the coordinates a little closer to the icons to the left side to prevent this.

@dmcdougall dmcdougall merged commit 45f1912 into matplotlib:master

1 check failed

Details default The Travis build failed
@jwoillez jwoillez deleted the jwoillez:fix-macosx-msg branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 1, 2013
  1. @jwoillez

    In macosx backend, move the coordinate message closer to the icons, t…

    jwoillez authored
    …o reduce clipping by the window edge.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/_macosx.m
2  src/_macosx.m
@@ -4747,7 +4747,7 @@ -(void)save_figure:(id)sender
NSFont* font = [NSFont systemFontOfSize: 0.0];
rect.size.width = 300;
rect.size.height = 0;
- rect.origin.x += 200;
+ rect.origin.x += height;
NSText* messagebox = [[NSText alloc] initWithFrame: rect];
[messagebox setFont: font];
[messagebox setDrawsBackground: NO];
Something went wrong with that request. Please try again.