[matplotlib-devel] backend_driver errors

2007-09-04 Thread Paul Kienzle
In checking the mathtext rotation feature I found that the graph displayed fine, but python segfault'd shortly after displaying it. Most (all) examples are failing for me for svn r3778, even after rebuilding and reinstalling everything. Is there something in the last couple of weeks which might

[matplotlib-devel] dviread: usetex for the PDF backend

2007-09-04 Thread Jouni K . Seppänen
Hi, I have continued my work on supporting text.usetex for the PDF backend by parsing dvi files. It "sort of" works now, with the following caveats: - Your TeX distribution must have a kpsewhich command and a correctly configured pdftex.map file. This is true for modern distributions on Un

Re: [matplotlib-devel] mathtext rotation

2007-09-04 Thread Michael Droettboom
John Hunter wrote: > On 8/30/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > >>> ...but if we need to go into agg anyway, why not use Agg's font handling >>> capabilities directly? >> Perhaps historical reasons. I wonder if they're still relevant. > > Yes, that's it. agg did not have font s

Re: [matplotlib-devel] mathtext rotation

2007-09-04 Thread John Hunter
On 8/30/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > > ...but if we need to go into agg anyway, why not use Agg's font handling > > capabilities directly? > > Perhaps historical reasons. I wonder if they're still relevant. Yes, that's it. agg did not have font support when the agg backen

Re: [matplotlib-devel] mathtext rotation

2007-09-04 Thread Michael Droettboom
SVN r3776 now has support for rotation of mathtext to any angle in the Agg backend (i.e. it's now supported in all backends). Enjoy! Mike Michael Droettboom wrote: > Paul Kienzle wrote: >> On Thu, Aug 30, 2007 at 02:19:47PM -0400, Michael Droettboom wrote: >>> Paul Kienzle wrote: Hi all, >

[matplotlib-devel] AFM reading

2007-09-04 Thread Jouni K . Seppänen
Michael Droettboom <[EMAIL PROTECTED]> writes: > With AFM reading in ft2font.cpp now, does that remove the need for > afm.py? What I added was a way to call FT_Attach_File, which is used to parse an AFM file and add the metrics to an already existing Type 1 font object. I don't know if there is a

Re: [matplotlib-devel] two minor logspace problem

2007-09-04 Thread Gael Varoquaux
On Fri, Aug 31, 2007 at 01:22:54PM +0400, Farid Khalili wrote: > I have just found matplotlib, and it seems to me that it is very good > and promising product, albeit not yet as polished as octave/gnuplot > pair. As a long-time user of gnuplot, I find that in certain areas matplotlib is more polis

[matplotlib-devel] two minor logspace problem

2007-09-04 Thread Farid Khalili
Hello, it seems that there are two minor bugs in matplotlib concerning the logspace function. 1) line 93 of mlab.py: def logspace(xmin,xmax,N): return exp(linspace(log(xmin), log(xmax),Nh)) - should be N or Nh in the both lines; 2) pylab does not import logspace at all: line 293 of pylab.py

Re: [matplotlib-devel] mathtext in wx widgets

2007-09-04 Thread John Hunter
On 8/31/07, Paul Kienzle <[EMAIL PROTECTED]> wrote: > That's wonderful! I'm attaching a screen shot for wx 2.8 on OS/X. > > The rendering is kind of ugly, but I haven't looked into it. My giess is that for some reason wx is not respecting the alpha channel -- that will give you the rough, chunky

Re: [matplotlib-devel] custom symbol patch (2)

2007-09-04 Thread John Hunter
On 9/4/07, Manuel Metz <[EMAIL PROTECTED]> wrote: > Hello, > > I just re-created the patch against svn revision 3773 and also updated > it on sourceforge. I also added a modified version of > scatter_star_poly.py from the examples and its output. > > It would really be nice to have this patch appli

Re: [matplotlib-devel] mathtext in wx widgets

2007-09-04 Thread Michael Droettboom
Just FYI -- this is what it looks like in Linux/wxGTK. Paul Kienzle wrote: On Fri, Aug 31, 2007 at 03:28:49PM -0400, Michael Droettboom wrote: There is now preliminary support for getting a mathtext bitmap to transfer to a GUI widget in SVN, along with a toy wxPython example in examples/mathte