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 quiver.py #1379

Merged
merged 1 commit into from Nov 11, 2012
Merged

PEP8 fixes on quiver.py #1379

merged 1 commit into from Nov 11, 2012

Conversation

NelleV
Copy link
Member

@NelleV NelleV commented Oct 13, 2012

PEP8 fixes on the module quiver.

Thanks,
N.

@@ -541,7 +540,8 @@ def _make_verts(self, U, V):
# Calculate eps based on the extents of the plot
# so that we don't end up with roundoff error from
# adding a small number to a large.
angles, lengths = self._angles_lengths(U, V,
angles, lengths = self._angles_lengths(
U, V,
eps=np.abs(self.ax.dataLim.extents).max() * 0.001)
Copy link
Member

Choose a reason for hiding this comment

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

This is a little too far to the left in my opinion.

Copy link
Member Author

Choose a reason for hiding this comment

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

Sorry about that... I was testing why pep8 (the program) was complaining on that line, and this is what it was asking me to do. I'm filing a bug report for that.

@dmcdougall
Copy link
Member

I give this a +1 once @efiring's and @WeatherGod's concerns have been settled.

@dmcdougall
Copy link
Member

Looks like the test failure was just travis flaking on a numpy install. Merging.

dmcdougall added a commit that referenced this pull request Nov 11, 2012
@dmcdougall dmcdougall merged commit 2acf78d into matplotlib:master Nov 11, 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