Hi,
After i posted a version of this question on the
matplotlib-users list i decided it would probably be better
to post it on the devel list. Here is the problem, if i include
any one of the following three lines:
from matplotlib.backends.backend_wx import FigureCanvasWx
#from matplotlib.backends.backend_wx import Toolbar
#from matplotlib.backends.backend_wx import FigureManager
(here only the first one is uncommented...same result if i
use either of the other two) in a file (test.py) and then type:
python test.py
i get:
floyd:/home/jbenson/python>python test.py
[Debug] 15:17:10: Adding duplicate image handler for 'PNG file'
[Debug] 15:17:10: Adding duplicate image handler for 'JPEG file'
[Debug] 15:17:10: Adding duplicate image handler for 'TIFF file'
[Debug] 15:17:10: Adding duplicate image handler for 'GIF file'
[Debug] 15:17:10: Adding duplicate image handler for 'PNM file'
[Debug] 15:17:10: Adding duplicate image handler for 'PCX file'
[Debug] 15:17:10: Adding duplicate image handler for 'XPM file'
[Debug] 15:17:10: Adding duplicate image handler for 'Windows icon file'
[Debug] 15:17:10: Adding duplicate image handler for 'Windows cursor file'
[Debug] 15:17:10: Adding duplicate image handler for 'Windows animated
cursor file'
floyd:/home/jbenson/python>
If i try the same line from a python prompt line:
floyd:/home/jbenson>python
Python 2.3.3 (#1, Dec 21 2003, 15:13:18)
[GCC 3.3.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
from matplotlib.backends.backend_wx import FigureCanvasWx
...no extra debug lines. I'm using matplotlib-0.52. Does anyone recognize
where those [Debug] statements are coming from, and how i could
get them to not show up?
Thanks,
Jim