[matplotlib-devel] writing plain text to multi page pdf

2009-08-27 Thread John Hunter
One of my colleagues want to use PdfPages to create several mpl figures in one pdf document. It would be nice to be able to write some text in there directly. One could use the matplotlib.text.Text and add it to your figure, and maybe this is the way to go, but is it possible or desirable to expo

Re: [matplotlib-devel] writing plain text to multi page pdf

2009-08-27 Thread Gael Varoquaux
On Thu, Aug 27, 2009 at 04:57:55PM -0500, John Hunter wrote: > One of my colleagues want to use PdfPages to create several mpl > figures in one pdf document. It would be nice to be able to write > some text in there directly. One could use the matplotlib.text.Text > and add it to your figure, and

Re: [matplotlib-devel] writing plain text to multi page pdf

2009-08-28 Thread Jouni K . Seppänen
John Hunter writes: > One of my colleagues want to use PdfPages to create several mpl > figures in one pdf document. It would be nice to be able to write > some text in there directly. So the user interface might look something like this: pdf = PdfPages('filename.pdf') fig=figure() # ... pdf.s

Re: [matplotlib-devel] writing plain text to multi page pdf

2009-08-29 Thread John Hunter
On Fri, Aug 28, 2009 at 4:27 AM, Jouni K. Seppänen wrote: > Should the coordinates be raw PDF points measured from the bottom left > corner, or passed through the figure transformation (or something else)? > What sort of font properties would you expect to be allowed? > >> One could use the matplot

Re: [matplotlib-devel] writing plain text to multi page pdf

2009-08-29 Thread Jouni K . Seppänen
John Hunter writes: > This is a tough call. mpk is not so good at multiline text. Maybe > the solution is to make mpl good at multiline text, but I was > wondering if there was an easy way to "dump a paragraph" at the pdf > level, and have it newline separate the text and make it look > accepta

Re: [matplotlib-devel] writing plain text to multi page pdf

2009-08-30 Thread Jouni K . Seppänen
Jouni K. Seppänen writes: >> The current interface looks easy enough to use -- it just needs to be >> advertised better, eg in a FAQ ( I had to read the source to find it, >> which works well enough for me, but not for everyone). If you want to >> write one up, I'll add it to the docs. > > I see

Re: [matplotlib-devel] writing plain text to multi page pdf

2009-08-31 Thread Michael Droettboom
I've been bitten by this before, too. The current implementation of "make.py clean" is probably a remnant of an earlier iteration of the doc build system that really did scatter files all over the place. I made some changes a few months ago to try to restrict "built" files to the build and exa