Re: [Matplotlib-users] using strpdate2num in load

2007-12-17 Thread Emmanuel
Ok, thank you! I'm missing an option to (easily) use date that start with the day day/month/year (it is the case in Brazil and France for example) I'm using something like tha date_Ymd="%s/%s/%s" % (datedayfirst.split('/')[2],datedayfirst.split ('/')[1],datedayfirst.split ('/')[0]) I was lookign

Re: [Matplotlib-users] transparent background for encapsulated postscript output

2007-12-17 Thread Alan G Isaac
On Mon, 17 Dec 2007, Michael Droettboom apparently wrote: > You can generate a PDF file with matplotlib, and then run > it through "acroread -toPostScript foo.pdf", and get > a reasonably well-optimized Postscript file. I did not know that. Thanks! Alan

Re: [Matplotlib-users] transparent background for encapsulated postscript output

2007-12-17 Thread Michael Droettboom
Well, I hate to provide the disappointing answer, but it really doesn't work for Postscript. (The name pstricks has perhaps become misleading over time...) It inserts special codes in the Postscript that aren't part of the Ps standard, but that ps2pdf14 is able to convert into the correct Pdf

Re: [Matplotlib-users] matplotlib install

2007-12-17 Thread Jonathan King
Thanks for the reply. I fixed my problem and thought I would post my findings. Basically, I never did find out what the problem was with those particular version was, but upgrading the packages eventually fixed it. Of course, that meant compiling numpy, python, pango, cairo etc. Took f

Re: [Matplotlib-users] [matplotlib-devel] New flags in IPython, of interest to matplotlib users

2007-12-17 Thread Gael Varoquaux
On Wed, Dec 12, 2007 at 01:36:01AM -0700, Fernando Perez wrote: > You can now do this as well: > tlon[~]> ipython -wthread -pylab --nobanner > In [1]: matplotlib.rcParams['backend'] > Out[1]: 'WXAgg' Hurray, mayavi and pylab can now easily live together. Thanks heaps Fernando. Gaƫl --

Re: [Matplotlib-users] [matplotlib-devel] New flags in IPython, of interest to matplotlib users

2007-12-17 Thread Paul Kienzle
I'm curious about the term 'threading backend'. Recently I posted a question about how to handle slow plots, suggesting that the backend canvas have an isabort() method so that the renderer can stop what it is doing and post the current bitmap as it stands. This is to support interactive operation

Re: [Matplotlib-users] Rendering of fonts in plots does not honor user-specified parameters

2007-12-17 Thread Michael Droettboom
In the interest of fixing this bug for others, I wonder if you wouldn't mind testing something for me (since I don't have Windows handy, and even if I did, it wouldn't be *your* Windows environment...) The only different between the provided matplotlibrc and the built-in defaults seems to be fo

Re: [Matplotlib-users] transparent background for encapsulated postscript output

2007-12-17 Thread Alan G Isaac
On Mon, 17 Dec 2007, Tom Johnson apparently wrote: > pstricks (tex) provides transparency... > http://tug.org/PSTricks/main.cgi?file=Examples/Colors/colors#transparency > http://tug.org/PSTricks/main.cgi?file=pst-plot/3D/examples#coor Impressive. How is it done? Cheers, Alan Isaac --

[Matplotlib-users] draw_if_interactive and ipython

2007-12-17 Thread Tom Johnson
Hi all, I wasn't sure if this should be sent to matplotlib or ipython. I'm got a number of questions, and any help would be greatly appreciated. The docstring for draw_if_interactive says: """This should be overriden in a windowing environment if drawing should be done in interactive python mode

Re: [Matplotlib-users] transparent background for encapsulated postscript output

2007-12-17 Thread Tom Johnson
On Dec 14, 2007 11:28 AM, Jeff Whitaker <[EMAIL PROTECTED]> wrote: > Mike: Postscript doesn't support alpha transparency. It might work > with PDF though. pstricks (tex) provides transparency... http://tug.org/PSTricks/main.cgi?file=Examples/Colors/colors#transparency http://tug.org/PSTricks/ma