I'm hoping to get help from matplotlib wxPython backend users...

I'm struggling to get what is described in the subject line to work correctly.
There was a sort of similar thread from 2006 here:

http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg00945.html

I want to pick a point on a plot and use the x,y of that point to
place a wxPopupWindow
right near that point on the graph.  I am doing this in wxPython as an embedded
graph).  I have it working *somewhat* but there is still a major
problem with it.
I tried to base this off the wxPython demos wxPopupWindow code, but somehow
it is not working right.

Before I post any code or if I can get a runnable sample going, does anyone
have a pointer to a simple solution?  I can get x and y in pixel space on the
graph from event.mouseevent.x and event.mouseevent.y, but then when I try
to sort of add those to the position of the frame which contains the panel
(which contains the graph), I get some really weird behavior when I move that
frame to the left:  the location of the popupwindow jumps to the far right side
of the screen.

Any help is appreciated--Thanks!

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to