Re: [Matplotlib-users] ValueError: Can only output finite numbers in PDF

2008-10-06 Thread Alan
Thanks for all replies. I got a solution by copying some files from SVN trunk revision 6155. I did as follow: svn co https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk/matplotlib sudo cp -b matplotlib/lib/matplotlib/backends/backend_pdf.py /sw/lib/python2.5/site-packages/matplotlib/b

Re: [Matplotlib-users] ValueError: Can only output finite numbers in PDF

2008-10-03 Thread Favre-Nicolin Vincent
On vendredi 3 octobre 2008, Alan wrote: > We are developing an application (CING: cing.googlecodes.com) and we You mean http://cing.googlecode.com (no "s") [...] > I don't have much idea at moment how to debug it better, but it seems > that I cannot generate the PDFs because mtplib functions

Re: [Matplotlib-users] ValueError: Can only output finite numbers in PDF

2008-10-03 Thread Michael Droettboom
Are you perhaps trying to plot data containing NaN or Inf? If so, this is a known bug in 0.98.3 that has seen been corrected on SVN trunk. A workaround is to pass masked arrays (where the NaNs and Infs are masked out) to matplotlib instead. But this bug should be gone in the next release of ma

[Matplotlib-users] ValueError: Can only output finite numbers in PDF

2008-10-03 Thread Alan
Dear all, I don't know much how to express this issue I am having but I will try. We are developing an application (CING: cing.googlecodes.com) and we have some routines to test the sanity of our code. I am developing in python, on a mac book pro with Mac OSX tiger and FINK. So when we were usi