On Tue, Mar 8, 2011 at 12:05 PM, Pål Gunnar Ellingsen <paa...@gmail.com>wrote:
> Hi
>
> I'm trying to make a plot as a pdf file (or any vector format) with LaTeX
> fonts. I can make it output the file using show, but not with savefig (unless
> it is raster graphics).
>
>
> My setup is Fedora 13 64 bit with the latest TexLive:
> texlive-2011-0.1.20110227.fc13.x86_64
> and matplotlib from svn, revision 8988.
>
> I can run tex_demo.py as it is from
> http://matplotlib.sourceforge.net/users/usetex.html
>
>
> but is I change it such that instead of a png it outputs a pdf, like the
> example below, it crashes.
> I know there was a post on the mail liste a couple of days ago ( Bug in
> `dviread.py'), but I'm not sure if this is the same error, which it shouldn't
> be as I'm using the latest svn revision.
>
>
> Does anyone have the same problem?
>
> The example and debug output are shown below.
>
> Regards
>
> Pål
>
> Actually, I think this is the same problem as that in "Bug in
`dviread.py'". The problem is that that bug was probably fixed shortly
after our transition to github.com, so the svn version actually isn't the
latest version of the code. Please see the documentation here (note, this
documentation is still unofficial, but it should get you started):
http://matplotlib.github.com/faq/installing_faq.html#install-from-git
I hope that helps!
Ben Root
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users