-
-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Support partial usetex in ps output #7741
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
Comments
The issue seems to stem from 2 problems related to the setting of The first one is in line 638 of This leads into the second problem which was that even though you set |
Fix for issue matplotlib#7741
Any update for this issue? |
This currently does not error, but gives the following message:
|
Thanks @oscargus. I think this warning is good enough so I'll close the issue. Please report back if this is not good enough. |
@timhoffm I think this is still a reasonable feature request ("support partial usetex in ps output" -- like all other backends do), and could therefore be kept open? |
Sure - reopening with adapted title. |
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help! |
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help! |
I am trying to save some figures I made as .ps or .eps but I am getting an error. I narrowed the error down to the fact that I am using Latex for some of the text in my figure but using
rc.params['text.usetex'] = False
. Here is some code that reproduces the bug:The error you get is
AttributeError: 'RendererPS' object has no attribute 'textcnt'
When looking at this code in in the RendererPS class the
textcnt
attribute is only added whenrc.params['text.usetex'] = True
. However I am just using Latex for specific text objects with the optionusetex=True
. Is there a way to save these figures as .ps or .eps?I am using Matplotlib 1.5.1 installed via conda on Windows with python 2.7. I also tested it with Matplotlib 2.0.0b4 which also produced the same error, however I would prefer a solution for 1.5.1 if possible.
The text was updated successfully, but these errors were encountered: