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

bdplot not defined #205

Closed
Flausi opened this issue Apr 14, 2022 · 2 comments
Closed

bdplot not defined #205

Flausi opened this issue Apr 14, 2022 · 2 comments
Labels
documentation Needs documentation, or requires change in current documentation easy

Comments

@Flausi
Copy link

Flausi commented Apr 14, 2022

Hello I have a problem with the new visualization with Makie. I tried to get the simple examples from the documentation (link) to work. Unfortunately I always get the following error message:

ERROR: LoadError: UndefVarError: bdplot not defined

The code looks like this.

using DynamicalBilliards, InteractiveDynamics, CairoMakie

bd = billiard_hexagonal_sinai()
p1 = randominside(bd)
p2 = randominside(bd, 1.0)
colors = [:red, JULIADYNAMICS_COLORS[1]]
markers = [:circle, :rect]
fig, ax = bdplot(bd)
for (p, c) in zip([p1, p2], colors)
    x, y = DynamicalBilliards.timeseries!(p, bd, 20)
    lines!(ax, x, y; color = c)
end
bdplot!(ax, [p1, p2]; colors, particle_size = 10, marker = markers)
fig

I would be happy if someone can help me. My packages have the following versions:
DynamicalBilliards v4.0.0 ; InteractiveDynamics v0.18.1 ; CairoMakie v0.6.4.

@Datseris
Copy link
Member

InteractiveDynamics v0.18.1

You need version 0.20. Ah, damn, that is not mentioned in the docs, i'll keep it as todo.

@Datseris Datseris added easy documentation Needs documentation, or requires change in current documentation labels Apr 14, 2022
@Flausi
Copy link
Author

Flausi commented Jun 2, 2022

Hello, oh yes that's right. AbstractPlotting.jl prevented the packages from updating for some reason. Thanks for the answer ;)

@Flausi Flausi closed this as completed Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Needs documentation, or requires change in current documentation easy
Projects
None yet
Development

No branches or pull requests

2 participants