Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matplotlib and pgf #10

Open
pank opened this issue Nov 22, 2013 · 1 comment
Open

Matplotlib and pgf #10

pank opened this issue Nov 22, 2013 · 1 comment

Comments

@pank
Copy link

pank commented Nov 22, 2013

First, your notes are very good!

Since some releases ago matplotlib has supported pgf for LaTeX output. This allows to graphs that are compiled into to pdf graphics by the LaTeX pgf package. If compilation time isn't an issue (caching is possible) it may be preferable to pdf output, as font sizes and fonts are handled by LaTeX.

Perhaps this should be reflected in the "Formatting text: LaTeX, fontsize, font family" in the matplotlib slides. Using pgf does in my experience allow for less fiddling when producing plots.

@jrjohansson
Copy link
Owner

Hi. Thanks for the suggestion. Yes, pgf can give very nice results in latex documents, and that certainly deserves some mentioning. I'll look into working that into the notebook.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants