Move text examples out of pylab_examples#8681
Merged
tacaswell merged 3 commits intomatplotlib:masterfrom Jun 1, 2017
Merged
Conversation
Member
|
Sorry, some of this conflicted with #8199. |
PEP8 moved text examples Fix tutorial links Fix up rebase
QuLogic
reviewed
May 30, 2017
|
|
||
| Notice how the the label for the y axis is provided using unicode! | ||
| time, the run may be silent, as a lot of the information is cached in | ||
| ~/.tex.cache |
Member
There was a problem hiding this comment.
This should not be here; I think you may have resolved conflicts in the opposite direction.
Member
Author
There was a problem hiding this comment.
I've just put back in the master copy of tex_demo.py, which I think is correct.
QuLogic
reviewed
May 30, 2017
| mpl_blue_rvb = (191./255., 209./256., 212./255.) | ||
| mpl_orange_rvb = (202/255., 121/256., 0./255.) | ||
| mpl_grey_rvb = (51./255., 51./255., 51./255.) | ||
| mpl_blue_rvb = (191 / 255, 209 / 256, 212 / 255) |
Member
There was a problem hiding this comment.
Needs from __future__ import division for this to work on Python 2.
| baseline = 1. - (i_line)*line_axesfrac | ||
| baseline_next = baseline - line_axesfrac*1. | ||
| baseline = 1 - (i_line) * line_axesfrac | ||
| baseline_next = baseline - line_axesfrac * 1 |
| # Left Y-axis labels | ||
| plt.ylabel(r'\bf{phase field} $\phi$', {'color': 'b', | ||
| 'fontsize': 20}) | ||
| 'fontsize': 20}) |
Member
There was a problem hiding this comment.
Might as well break before the {.
QuLogic
approved these changes
May 31, 2017
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Some more pylab_examples moves, this time what I think are all the text related examples.