Hi,
I don't have time to root around for the cause right now, but the PDF
backend isn't working. See the attachment for tracebacks generated with
"python backend_driver.py pdf" This is with recent svn (3565).
-Andrew
$ python backend_driver.py pdf
testing pdf
driving alignment_test.py
Traceback (most recent call last):
File "_tmp_alignment_test.py", line 87, in <module>
savefig("alignment_test_pdf", dpi=150)
File "/home/astraw/other-peoples-src/matplotlib/matplotlib.svn/lib/matplotlib/pylab.py", line 804, in savefig
return fig.savefig(*args, **kwargs)
File "/home/astraw/other-peoples-src/matplotlib/matplotlib.svn/lib/matplotlib/figure.py", line 769, in savefig
self.canvas.print_figure(*args, **kwargs)
File "/home/astraw/other-peoples-src/matplotlib/matplotlib.svn/lib/matplotlib/backends/backend_pdf.py", line 1475, in print_figure
file.close()
File "/home/astraw/other-peoples-src/matplotlib/matplotlib.svn/lib/matplotlib/backends/backend_pdf.py", line 403, in close
self.writeFonts()
File "/home/astraw/other-peoples-src/matplotlib/matplotlib.svn/lib/matplotlib/backends/backend_pdf.py", line 460, in writeFonts
*self.used_characters[stat_key])
File "/home/astraw/other-peoples-src/matplotlib/matplotlib.svn/lib/matplotlib/backends/backend_pdf.py", line 482, in embedTTF
fonttype = rcParams['pdf.fonttype']
KeyError: 'pdf.fonttype'
driving arctest.py
Traceback (most recent call last):
File "_tmp_arctest.py", line 23, in <module>
savefig("arctest_pdf", dpi=150)
File "/home/astraw/other-peoples-src/matplotlib/matplotlib.svn/lib/matplotlib/pylab.py", line 804, in savefig
return fig.savefig(*args, **kwargs)
File "/home/astraw/other-peoples-src/matplotlib/matplotlib.svn/lib/matplotlib/figure.py", line 769, in savefig
self.canvas.print_figure(*args, **kwargs)
File "/home/astraw/other-peoples-src/matplotlib/matplotlib.svn/lib/matplotlib/backends/backend_pdf.py", line 1475, in print_figure
file.close()
File "/home/astraw/other-peoples-src/matplotlib/matplotlib.svn/lib/matplotlib/backends/backend_pdf.py", line 403, in close
self.writeFonts()
File "/home/astraw/other-peoples-src/matplotlib/matplotlib.svn/lib/matplotlib/backends/backend_pdf.py", line 460, in writeFonts
*self.used_characters[stat_key])
File "/home/astraw/other-peoples-src/matplotlib/matplotlib.svn/lib/matplotlib/backends/backend_pdf.py", line 482, in embedTTF
fonttype = rcParams['pdf.fonttype']
KeyError: 'pdf.fonttype'
driving axes_demo.py
Traceback (most recent call last):
File "_tmp_axes_demo.py", line 38, in <module>
savefig("axes_demo_pdf", dpi=150)
File "/home/astraw/other-peoples-src/matplotlib/matplotlib.svn/lib/matplotlib/pylab.py", line 804, in savefig
return fig.savefig(*args, **kwargs)
File "/home/astraw/other-peoples-src/matplotlib/matplotlib.svn/lib/matplotlib/figure.py", line 769, in savefig
self.canvas.print_figure(*args, **kwargs)
File "/home/astraw/other-peoples-src/matplotlib/matplotlib.svn/lib/matplotlib/backends/backend_pdf.py", line 1475, in print_figure
file.close()
File "/home/astraw/other-peoples-src/matplotlib/matplotlib.svn/lib/matplotlib/backends/backend_pdf.py", line 403, in close
self.writeFonts()
File "/home/astraw/other-peoples-src/matplotlib/matplotlib.svn/lib/matplotlib/backends/backend_pdf.py", line 460, in writeFonts
*self.used_characters[stat_key])
File "/home/astraw/other-peoples-src/matplotlib/matplotlib.svn/lib/matplotlib/backends/backend_pdf.py", line 482, in embedTTF
fonttype = rcParams['pdf.fonttype']
KeyError: 'pdf.fonttype'
driving bar_stacked.py
Traceback (most recent call last):
File "_tmp_bar_stacked.py", line 27, in <module>
legend( (p1[0], p2[0]), ('Men', 'Women') )
File "/home/astraw/other-peoples-src/matplotlib/matplotlib.svn/lib/matplotlib/pylab.py", line 2445, in legend
ret = gca().legend(*args, **kwargs)
File "/home/astraw/other-peoples-src/matplotlib/matplotlib.svn/lib/matplotlib/axes.py", line 2964, in legend
self.legend_ = mlegend.Legend(self, handles, labels, **kwargs)
File "/home/astraw/other-peoples-src/matplotlib/matplotlib.svn/lib/matplotlib/legend.py", line 174, in __init__
loc = rcParams["legend.loc"]
KeyError: 'legend.loc'
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel