-
Notifications
You must be signed in to change notification settings - Fork 25
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
Adds snapshots slider for sim engine plots #851
Conversation
ac8058d
to
8bf0f99
Compare
8bf0f99
to
3b9d564
Compare
snapshots = SimPlotter.available_snapshots() | ||
timestamp = inputs.select_slider("Go to snapshot", snapshots, value="final") | ||
st, new_ts = sim_plotter.load_state(timestamp) | ||
load_canvas_on_state(timestamp) |
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.
i might not have waited until the very end to see this come up.
This looks good, but i did not verify/test the slider.
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.
tested, everything worked except i didn't wait for engine to end so slider would show up
@idiom-bytes If you want to delve into this some more, you can run the sim for as much time as comfortable. Then go into the sim_state folder and rename the last state for |
No description provided.