Re: [Matplotlib-users] Printing problems with "WXAgg" on Linux (minakawa)

2008-01-04 Thread Michael Droettboom
Happy New Year to you as well! I see now where part of the confusion lies -- even though you have specified the WxAgg backend, the Wx backend is being used for the printing. Though I didn't write this code, I assume this is by design -- WxAgg can only generate bitmaps, and we don't want to use

Re: [Matplotlib-users] Printing problems with "WXAgg" on Linux (minakawa)

2007-12-31 Thread Johann Cohen-Tanugi
hi Mike, no it is WxAgg, the code is here: - import wx import os import matplotlib matplotlib.use('WxAgg') from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigCanvas from matplotlib.figure import Figure import matplotlib.numerix as numpy class PlotFrame(wx.Frame): def __i

Re: [Matplotlib-users] Printing problems with "WXAgg" on Linux (minakawa)

2007-12-31 Thread Michael Droettboom
>From the traceback, it looks as if you are using the Wx backend, not the WxAgg backend, and you are using "usetex" (text rendering using (La)TeX). The Wx backend does not support usetex -- the WxAgg backend does. Check your matplotlibrc or your matplotlib.use command and make sure you're sele

[Matplotlib-users] Printing problems with "WXAgg" on Linux (minakawa)

2007-12-27 Thread Johann Cohen-Tanugi
I tried your simple example and I have indeed the following crash when I tried to print preview : --- NotImplementedError Traceback (most recent call last) /usr/lib/python2.5/site-packages/matplotlib/bac