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

Merged
merged 1 commit into from Dec 3, 2012

Conversation

Projects
None yet
3 participants
Contributor

NelleV commented Nov 21, 2012

Hello,

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

Cheers,
N

@dmcdougall dmcdougall commented on the diff Dec 3, 2012

lib/matplotlib/axes.py
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)
@dmcdougall

dmcdougall Dec 3, 2012

Member

This variable name made me laugh.

@dmcdougall

dmcdougall Dec 3, 2012

Member

I propose roflims for the next one...

Member

dmcdougall commented Dec 3, 2012

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

Member

pelson commented Dec 3, 2012

Agreed. 👍

@dmcdougall dmcdougall added a commit that referenced this pull request Dec 3, 2012

@dmcdougall dmcdougall Merge pull request #1522 from NelleV/pep8_axes_3
PEP8-compliance on axes.py (patch 3 / 4)
73ceafa

@dmcdougall dmcdougall merged commit 73ceafa into matplotlib:master Dec 3, 2012

1 check passed

default The Travis build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment