Skip to content
Discussion options

You must be logged in to vote

How did I miss this discussion? The trips layer's animate method won't work because it relies on ipywidgets jsdlink which doesnt work for panel apps. In panel we can use the Player widget along with a disabled datetimeinput widget bound to to the trips layer to achieve the same result in a panel app.

I took the guts of the animate method and rewired it to use the panel components below. I haven't used this trips layer before, it's pretty neat, I've got some ideas how I could have some fun with it!

If you're using UV you can run this with
uv run panel_trip.py

# /// script
# requires-python = "==3.10"
# dependencies = [
#     "arro3-core",
#     "arro3-io",
#     "arro3-compute",
#     "pa…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@kylebarron
Comment options

@merijnpepijndebakker
Comment options

Comment options

You must be logged in to vote
1 reply
@merijnpepijndebakker
Comment options

Answer selected by kylebarron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants