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

FIX extra comma in Sankey.add #1472

Merged
merged 1 commit into from Nov 13, 2012
Merged

FIX extra comma in Sankey.add #1472

merged 1 commit into from Nov 13, 2012

Conversation

NelleV
Copy link
Member

@NelleV NelleV commented Nov 9, 2012

There was a mistake in one of my PEP8 patches: I added an extra comma. Hence, the code failed when calling it.

I fixed the error, and added a small test that just checks the code runs.

@dmcdougall
Copy link
Member

+1

@dmcdougall
Copy link
Member

It looks like you also moved the __init__ function to the top of the class. While I actually prefer that, I think I'd also prefer that change to be in its own commit.

My feeling is that the commit message should reflect the changes that are made. The commit message currently says you fixed an issue with a comma, but the init function was also moved.

Sorry to be picky -- but it does make the logs and diffs easier to read.

@dmcdougall
Copy link
Member

Also if anyone else disagrees, feel free to shoot me down.

@NelleV
Copy link
Member Author

NelleV commented Nov 13, 2012

I've added this to the commit message

dmcdougall added a commit that referenced this pull request Nov 13, 2012
FIX extra comma in Sankey.add
@dmcdougall dmcdougall merged commit c6221e2 into matplotlib:master Nov 13, 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

2 participants