From: Chris B. <Chr...@no...> - 2005-04-08 17:47:56
|
Werner F. Bruhin wrote: > However I can't get this to work within the wxcursor_demo.py, is > figlegend only available with "from pylab import *"? I'm not sure about that one, but there are a number of convenience functions that are only in pylab. If so, you have two choices: 1) Use: import pylab pylab.figlegend(...) 2) you can look at the code in pylab.figlegend, and see what it does, and make your own version. By the way, I'm on a quest to make the OO interface to matplotlib fully functional and convenient. If you want to work on it, John would probably except a patch to make a figure.legend() method. -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 Chr...@no... |