|
From: Giovanni L. C. <jun...@gm...> - 2011-03-15 11:11:28
|
Hi all,
I call savefig by passing to it a file-like object but it appears to not
get the graphics format right:
f = open('not_a_pdf.pdf', 'w')
plot([1,2,3])
savefig(f)
but it produces a PNG image. Can anybody confirm this? I am on
matplotlib 0.99.3
Cheers,
Giovanni
|