Martin Spacek wrote:
Attached is an example file of what I've got running now. It should run on its own. A wx tooltip pops up whenever the mouse is over the axes.
I had to make a change to get it to run:
mpl.use('WXAgg') has to come before "import pylab"
once running, it's not working quite right: the tooltip always is at the bottom of the Window, though it does track the X location.
oddly it looks likeit's getting it's coords in figure units (0 to 1), whcih shouldn't work with a wxWindow.
Also, I'm getting the tooltip even when the window doesnot have focus and is under other windows -- at least when the mouse is over an exposed part of the window. That's probably a wx issue.
wxGTK on on Fedora core 4 linux.
Christopher Barker, Ph.D.
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception