On Wed, Sep 24, 2008 at 8:28 AM, C M <[EMAIL PROTECTED]> wrote: > On Tue, Sep 23, 2008 at 7:22 PM, Anthony Floyd <[EMAIL PROTECTED]> wrote: >> On Tue, Sep 23, 2008 at 3:28 PM, C M <[EMAIL PROTECTED]> wrote:
[snip] > Thank you for the help. Unfortunately, I used some of your code and still had > the same problem I've been having, which is that it works as long as I > don't move > my frame (which contains the figure canvas)--if I move it to the left, > the leftmost > points on the graph produce a popup that pops up on the far right side of the > screen. Hi Che, It seems that the line in your code (line 156): popup.Position(mouseLocation, wx.Size(500,500)) is causing the problem. The second argument in this call is an offset, in pixels, of where you want your your pop-up to appear, with respect to the first argument. So, if you change this to: popup.Position(mouseLocation, (10,10)) then the pop-up behaves as expected, but offset 10 pixels to the right and 10 pixels down from the pick location. See: http://docs.wxwidgets.org/trunk/classwx_popup_window.html HTH, A> ------------------------------------------------------------------------- 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