Re: [Matplotlib-users] Canvas coordinates vs. Plot coordinates

2008-05-07 Thread John Hunter
On Wed, May 7, 2008 at 7:41 AM, Matthew Czesarski <[EMAIL PROTECTED]> wrote: > Could I just chuck in one simple question: you may have noticed I am > embedding everything in GTK. After calling gtk.main() is there any way I can > modify the displayed window? Or do I have to bin the whole thing and

Re: [Matplotlib-users] Canvas coordinates vs. Plot coordinates

2008-05-07 Thread Matthew Czesarski
> Use mpl events -- they work across user interface toolkits and handle > stuff like which axes did you click in and what are the data > coordinates > Excellent, that did the trick. In just 2 minutes. :) Thanks a lot. Could I just chuck in one simple question: you may have noticed I am embedding

Re: [Matplotlib-users] Canvas coordinates vs. Plot coordinates

2008-05-06 Thread John Hunter
On Tue, May 6, 2008 at 11:17 AM, Matthew Czesarski <[EMAIL PROTECTED]> wrote: > So I'm pretty successful so far. The only problem is that the coordinates > are in canvas coordinates, not plot coordinates. Now, rather embarrassingly, > I can't figure out how to get this right. It seems to be the ca