-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
DOC MEP12 - converted animation to SG/MEP12 compatible #7329
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
t += 0.1 | ||
yield t, np.sin(2*np.pi*t) * np.exp(-t/10.) | ||
|
||
|
||
def init(): | ||
"""Create a line |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not quite correct. It doesn't create the line, it updates the line's data with the initial value, which is maybe a bit odd, I guess.
@@ -1,17 +1,31 @@ | |||
""" | |||
===== | |||
Decay |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably needs another word, "Decay animation", or something.
Simple animation examples | ||
========================= | ||
|
||
This example contains two animations. The first is a random walk plot. the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the -> The
============ | ||
Oscilloscope | ||
============ | ||
|
||
Emulate an oscilloscope. Requires the animation API introduced in | ||
matplotlib 1.0 SVN. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this information any more?
DOC: converted animation to SG/MEP12 compatible
Thanks Backported to v2.x as 66941ec |
Minor modification to have part of the animation section Sphinx-gallery compatible.
I'm pretty sure there is a problem in the Baye's update example, considering it does not converge to the theoretical value the code mentions…
Supersedes: #6486
See #7206