-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
simplified, added comment on usetex #6107
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
I am slightly biased towards leaving the example as |
@tacaswell I can change although I cannot see what would require the use of text in that segment. |
Showing off that it can be done. Integration with LaTeX is a major selling point in some fields and it defaults to |
@@ -18,7 +18,8 @@ | |||
pdf.savefig() # saves the current figure into a pdf page | |||
plt.close() | |||
|
|||
plt.rc('text', usetex=True) | |||
plt.rc('text', usetex=True) # if LaTeX is not installed or error caught, | |||
# change to `usetex=False` to make it work |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line is not aligned any more; however, I think it might be simpler to just place the comment above the code (if it fits within 80 characters).
Can you please rebase and squash the commits together? It appears that the first commit does not have your correct email address; please be sure that it is correct after rebasing. |
…ilable see: matplotlib#6104 (comment) reformatted comment
When you rebase you need to do a force-push to gh
|
see:
#6104 (comment)