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-compliance on axes.py (patch 3 / 4) #1522

Merged
merged 1 commit into from Dec 3, 2012
Merged

PEP8-compliance on axes.py (patch 3 / 4) #1522

merged 1 commit into from Dec 3, 2012

Conversation

NelleV
Copy link
Member

@NelleV NelleV commented Nov 21, 2012

Hello,

Here is the third patch on the axes.py module.

Cheers,
N

if 'transform' in kwargs:
lines_kw['transform'] = kwargs['transform']

# arrays fine here, they are booleans and hence not units
if not iterable(lolims):
lolims = np.asarray([lolims]*len(x), bool)
else: lolims = np.asarray(lolims, bool)
lolims = np.asarray([lolims] * len(x), bool)
Copy link
Member

Choose a reason for hiding this comment

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

This variable name made me laugh.

Copy link
Member

Choose a reason for hiding this comment

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

I propose roflims for the next one...

@dmcdougall
Copy link
Member

This looks fine to me. +1. Will merge tomorrow.

@pelson
Copy link
Member

pelson commented Dec 3, 2012

Agreed. 👍

dmcdougall added a commit that referenced this pull request Dec 3, 2012
PEP8-compliance on axes.py (patch 3 / 4)
@dmcdougall dmcdougall merged commit 73ceafa into matplotlib:master Dec 3, 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

3 participants