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

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to