On Friday, February 7, 2014 1:27:34 PM UTC-5, Eric Libby wrote:
>
> Thank you for such a detailed reply. I used savefig and it worked fine but
> when I try to specify the dpi as savefig("myplot2.eps",dpi=300) I get the
> error:
>
>
I'm not sure why matplotlib gives that inscrutable error...it works fine
for me (Homebrew's matplotlib). Maybe a problem with Anaconda's
matplotlib? Does the same command work in Python?
However, EPS is a vector-graphic format, like PDF or SVG. It is neither
necessary nor desirable to specify a DPI for such formats. You would
normally only give the "dpi" argument for raster formats like PNG.