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 tight_layout.py #1360

Merged
merged 2 commits into from Oct 11, 2012
Merged

PEP8 fixes on tight_layout.py #1360

merged 2 commits into from Oct 11, 2012

Conversation

NelleV
Copy link
Member

@NelleV NelleV commented Oct 10, 2012

PEP8 fixes on the module tight_layout.

Thanks,
N

# top
vspaces[row1 * cols + col1].append(_get_top(tight_bbox, ax_bbox))
# bottom
vspaces[(row1+1) * cols + col1].append(_get_bottom(tight_bbox, ax_bbox))
vspaces[(row1 + 1) * cols + col1].append(_get_bottom(tight_bbox,
ax_bbox))
Copy link
Member

Choose a reason for hiding this comment

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

The way these appends are wrapped is not consistent.

dmcdougall added a commit that referenced this pull request Oct 11, 2012
@dmcdougall dmcdougall merged commit 15f2a77 into matplotlib:master Oct 11, 2012
@dmcdougall
Copy link
Member

Aha! So the first Travis build fail was a fluke. The second was not, I should never assume.

@NelleV
Copy link
Member Author

NelleV commented Oct 11, 2012

Sorry about that. I did a quick PR to fix the failing tests in master. I think you're not gonna like that PR :)
It's sets the code back as it was before. I don't have the time to check for a nicer solution.

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

2 participants