Thanks to visit codestin.com
Credit goes to github.com

Skip to content

pep8ify more examples in examples/ + use np.radians/np.degrees #3182

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

Merged
merged 2 commits into from
Jul 4, 2014

Conversation

twmr
Copy link
Contributor

@twmr twmr commented Jul 3, 2014

there are still a lot more examples that need to be pep8ified

@@ -44,7 +44,7 @@
ha="left", va="bottom", color="w",
family="sans-serif", fontweight="bold", fontsize=16)

# Update function
Copy link
Member

Choose a reason for hiding this comment

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

Agreed. 😉

pelson added a commit that referenced this pull request Jul 4, 2014
pep8ify more examples in examples/ + use np.radians/np.degrees
@pelson pelson merged commit 2ef9cf1 into matplotlib:master Jul 4, 2014
del_ = state[2] - state[0]
den1 = (M1 + M2) * L1 - M2 * L1 * cos(del_) * cos(del_)
dydx[1] = (M2 * L1 * state[1] * state[1] * sin(del_) * cos(del_)
+ M2 * G * sin(state[2]) * cos(del_) + M2 *
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I would move M2 at the end of the line to the next line. I'll do it in the next PR

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.

2 participants