Skip to content

Animations do not work in JupyterΒ #142

@Datseris

Description

@Datseris
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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions