[Matplotlib-users] Invalid (trancated) PDFs in Web application

2008-10-11 Thread Torsten Bronger
Hallöchen! I generate PDFs of scientific data with Matplotlib. This is done automatically within a Web application written with Django. I generate a PNG thumbnail, too, which always is correct, however, the PDF is truncated in most cases. Now I wonder whether it may be a timeout by the Web

Re: [Matplotlib-users] Invalid (trancated) PDFs in Web application

2008-10-11 Thread Jouni K . Seppänen
Torsten Bronger [EMAIL PROTECTED] writes: Thus, this is the trailing part which is missing: http://www-users.rwth-aachen.de/torsten.bronger/pds_missing.txt Does anybody has an idea at which point and why Matplotlib stops working? The missing parts are the xref table and the trailer, which

Re: [Matplotlib-users] Invalid (trancated) PDFs in Web application

2008-10-11 Thread Jouni K . Seppänen
Jouni K. Seppänen [EMAIL PROTECTED] writes: Torsten Bronger [EMAIL PROTECTED] writes: Does anybody has an idea at which point and why Matplotlib stops working? ... if not self.passed_in_file_object: self.fh.close() I wonder if we should flush a file object that was

Re: [Matplotlib-users] Invalid (trancated) PDFs in Web application

2008-10-11 Thread Torsten Bronger
Hallöchen! Jouni K. Seppänen writes: Jouni K. Seppänen [EMAIL PROTECTED] writes: Torsten Bronger [EMAIL PROTECTED] writes: Does anybody has an idea at which point and why Matplotlib stops working? ... if not self.passed_in_file_object: self.fh.close() I wonder if

[Matplotlib-users] plot chops off big Latex axis labels

2008-10-11 Thread chris
The plot PDFs that matplotlib makes by default seem to be too tiny to contain my biggest axis labels and my poor Latex stuff is chopped in half. How fix? cs - This SF.Net email is sponsored by the Moblin Your Move