Skip to content
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

MEP12 on axes_demo.py #4661

Closed
wants to merge 2 commits into from
Closed

Conversation

domspad
Copy link

@domspad domspad commented Jul 11, 2015

pylab to plt np and sp

@jenshnielsen
Copy link
Member

PEP8

/home/travis/build/matplotlib/matplotlib/examples/pylab_examples/axes_demo.py:3:32: W291 trailing whitespace
/home/travis/build/matplotlib/matplotlib/examples/pylab_examples/axes_demo.py:4:19: W291 trailing whitespace

@jenshnielsen jenshnielsen added the MEP: MEP12 gallery and examples improvements label Jul 12, 2015
@tacaswell tacaswell modified the milestone: proposed next point release Jul 17, 2015
from pylab import *
import matplotlib.pyplot as plt
import numpy as np
import scipy as sp
Copy link
Member

Choose a reason for hiding this comment

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

We shouldn't use Scipy. As is it not installed on our Travis machine and we try avoiding to depend on it.

You can get randn from numpy.random

import numpy as np
np.random.randn

@jenshnielsen
Copy link
Member

Replaced by #4830

@QuLogic QuLogic modified the milestones: v1.5.0, proposed next point release (2.1) 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 status: duplicate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants