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