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.
cool.
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.
Python 2.4.3
>> wx.__version__
'2.6.3.0'
>>> matplotlib.__version__
'0.87.5'
wxGTK on on Fedora core 4 linux.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
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
[EMAIL PROTECTED]
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users