Skip to content

Conversation

@dstansby
Copy link
Member

Some more pylab_examples moves, this time what I think are all the text related examples.

@QuLogic
Copy link
Member

QuLogic commented May 29, 2017

Sorry, some of this conflicted with #8199.

PEP8 moved text examples

Fix tutorial links

Fix up rebase
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be here; I think you may have resolved conflicts in the opposite direction.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've just put back in the master copy of tex_demo.py, which I think is correct.

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)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

* 1 does nothing?

# Left Y-axis labels
plt.ylabel(r'\bf{phase field} $\phi$', {'color': 'b',
'fontsize': 20})
'fontsize': 20})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might as well break before the {.

@tacaswell tacaswell added this to the 2.1 (next point release) milestone May 31, 2017
@tacaswell tacaswell merged commit 3e4e775 into matplotlib:master Jun 1, 2017
@dstansby dstansby deleted the pylab-moves branch June 24, 2017 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants