-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Make PDF backend work when usetex is True #628
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
Conversation
Looks good to me, too busy to run any tests. |
seem to work for me, but only on basics example.
(I'm not asking for png anywhere) ...also in stderr
I wont past the whole code which is really long and need 300Mb of data to work as is, but I'll try to make a working minimal example. |
Minimum working example, rcParams['font.serif']='Times'
rcParams['text.usetex']=True
fig=figure(1)
xlabel(r'$\alpha$')
savefig('test.pdf') #, bbox_inches='tight' );#value error due to bbox=tight, but only on IPythonNotebook putting |
I can reproduce the error with that example on linux, python 2.7.1 (ubuntu 11.04). |
Seem to work for me. Thanks. -- |
I also tested this PR and it worked fine. Please go ahead and merge it. |
Make PDF backend work when usetex is True
Some parts of the PDF backend related to usetex did not get converted to the new Python 3 way.