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

Animations do not work in Jupyter #142

Open
Datseris opened this issue Sep 7, 2018 · 0 comments
Open

Animations do not work in Jupyter #142

Datseris opened this issue Sep 7, 2018 · 0 comments

Comments

@Datseris
Copy link
Member

Datseris commented Sep 7, 2018

using DynamicalBilliards, PyPlot
bd = billiard_bunimovich()
animate_evolution(randominside(bd), bd, 100)

this doesn't work in Jupytter, it only shows the final "state" of the plot.

The function of reference is here: https://github.com/JuliaDynamics/DynamicalBilliards.jl/blob/master/src/plotting/animations.jl

and uses

        line[:set_xdata](xpd)
        line[:set_ydata](ypd)

on a line, = plot(...). This is how the animation is done.

I have no clue how to fix it.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant