From: C M <cmp...@gm...> - 2010-01-22 23:04:45
|
For those who you wxPython with matplotlib, does anyone know how to do this or can point me in the right direction? I would like to pick a point (that part is fine) and then place a wxFrame near to that point. I'm using something like: #Note: self is a wxPanel that contains the matplotlib plot. mouseLocation = wx.GetMousePosition() pos = self.ScreenToClient(mouseLocation) self.popup.Move(pos) but this results in the frame being completely displaced from the picked point. I've tried a number of different approaches and am stuck. Any ideas would be appreciated. Che |