Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MEP12 on stix_fonts_demo.py #4683

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

Merged
merged 4 commits into from
Jul 15, 2015
Merged

MEP12 on stix_fonts_demo.py #4683

merged 4 commits into from
Jul 15, 2015

Conversation

ericmjl
Copy link
Contributor

@ericmjl ericmjl commented Jul 14, 2015

No description provided.

@jenshnielsen
Copy link
Member

This fails because from future import ... must be at the begining of the file. Which is a build in requirement in Python it self.

There is a small pep8 failure:

/home/travis/build/matplotlib/matplotlib/examples/pylab_examples/stix_fonts_demo.py:25:1: E302 expected 2 blank lines, found 1

@jenshnielsen jenshnielsen added status: needs revision MEP: MEP12 gallery and examples improvements and removed status: needs review labels Jul 14, 2015
plt.plot([0, 0], 'r')
plt.grid(False)
plt.axis([0, 3, -len(tests), 0])
plt.yticks(arange(len(tests)) * -1)
Copy link
Member

Choose a reason for hiding this comment

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

arange is a numpy function so this needs to be np.arange

jenshnielsen added a commit that referenced this pull request Jul 15, 2015
@jenshnielsen jenshnielsen merged commit 8091ba4 into matplotlib:master Jul 15, 2015
@ericmjl ericmjl deleted the mep12-stix_fonts_demo.py branch July 15, 2015 16:45
@QuLogic QuLogic added this to the v1.5.0 milestone Nov 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MEP: MEP12 gallery and examples improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants