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

PEP8 fixes on cm.py #1332

Merged
merged 2 commits into from Oct 8, 2012
Merged

PEP8 fixes on cm.py #1332

merged 2 commits into from Oct 8, 2012

Conversation

NelleV
Copy link
Member

@NelleV NelleV commented Oct 5, 2012

Pep8 fixes on the cm module.

Many thanks !
N

xx = np.empty(shape=(m,n,4), dtype = x.dtype)
xx[:,:,:3] = x
xx[:,:,3] = alpha
xx = np.empty(shape=(m, n, 4), dtype = x.dtype)
Copy link
Member

Choose a reason for hiding this comment

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

You left space around the = sign of the dtype kwarg.

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh, wow... I don't know how I missed that. It's fixed.

@dmcdougall
Copy link
Member

+1. Nice job!

@mdboom
Copy link
Member

mdboom commented Oct 8, 2012

+1

efiring added a commit that referenced this pull request Oct 8, 2012
@efiring efiring merged commit f0fb4f7 into matplotlib:master Oct 8, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants