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 using matplotlib 0.90.1 and numpy 1.0.4 the routine
below was running fine.

Then I updated all from Fink, having now mtplib 0.98.3 and numpy 1.1.1
and problems started to appear.

I could solve all (e.g. replace verify_intervals()) but one, as shown below.

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 don't guess a
finite number of pages.

I hope someone can give any idea.

Many thanks in advance.

Alan

======================================================================
ERROR: testMoleculePlot (cing.Libs.test.test_NTMoleculePlot.AllChecks)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/Users/alan/workspace/cingWork/python/cing/Libs/test/test_NTMoleculePlot.py",
line 178, in testMoleculePlot
    createPngCopyToo=True  )
  File "/Users/alan/workspace/cingWork/python/cing/Libs/NTmoleculePlot.py",
line 176, in renderMoleculePlotSet
    if ps.hardcopy(fileNameList[r-1]):
  File "/Users/alan/workspace/cingWork/python/cing/Libs/NTplot.py",
line 1201, in hardcopy
    savefig(fileName)
  File "/sw/lib/python2.5/site-packages/matplotlib/pyplot.py", line
342, in savefig
    return fig.savefig(*args, **kwargs)
  File "/sw/lib/python2.5/site-packages/matplotlib/figure.py", line
964, in savefig
    self.canvas.print_figure(*args, **kwargs)
  File "/sw/lib/python2.5/site-packages/matplotlib/backend_bases.py",
line 1310, in print_figure
    **kwargs)
  File "/sw/lib/python2.5/site-packages/matplotlib/backend_bases.py",
line 1204, in print_pdf
    return pdf.print_pdf(*args, **kwargs)
  File "/sw/lib/python2.5/site-packages/matplotlib/backends/backend_pdf.py",
line 1864, in print_pdf
    self.figure.draw(renderer)
  File "/sw/lib/python2.5/site-packages/matplotlib/figure.py", line 759, in draw
    for a in self.axes: a.draw(renderer)
  File "/sw/lib/python2.5/site-packages/matplotlib/axes.py", line 1523, in draw
    a.draw(renderer)
  File "/sw/lib/python2.5/site-packages/matplotlib/lines.py", line 437, in draw
    markerFunc(renderer, gc, tpath, affine.frozen())
  File "/sw/lib/python2.5/site-packages/matplotlib/lines.py", line
885, in _draw_plus
    path, path_trans)
  File "/sw/lib/python2.5/site-packages/matplotlib/backends/backend_pdf.py",
line 1253, in draw_markers
    marker, Op.use_xobject)
  File "/sw/lib/python2.5/site-packages/matplotlib/backends/backend_pdf.py",
line 451, in output
    self.write(fill(map(pdfRepr, data)))
  File "/sw/lib/python2.5/site-packages/matplotlib/backends/backend_pdf.py",
line 124, in pdfRepr
    raise ValueError, "Can only output finite numbers in PDF"
ValueError: Can only output finite numbers in PDF

----------------------------------------------------------------------
-- 
Alan Wilter S. da Silva, D.Sc. - CCPN Research Associate
Department of Biochemistry, University of Cambridge.
80 Tennis Court Road, Cambridge CB2 1GA, UK.
>>http://www.bio.cam.ac.uk/~awd28<<

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to