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

Truncate timestamps #127

Open
markbidwell opened this issue Sep 16, 2024 · 0 comments
Open

Truncate timestamps #127

markbidwell opened this issue Sep 16, 2024 · 0 comments

Comments

@markbidwell
Copy link

Hi Jakob, thank you for making moveVis - it's great!

It seems that align_move() creates dummy timestamps that don't differ in the last position. You can see an example of this on the moveVis home page (https://movevis.org/) where in the first three animations each frame is showing ":59" for the seconds. And in the last animation each frame is showing ":00". In these cases, seconds are not informative because the units were set to minutes, so seconds could be truncated so they are not distracting to the viewer.

In my case, it's the minutes that aren't informative, because I set units hours (one frame per hour), so I would like to truncate the minutes. I have tried to do this using get_frametimes() but haven't been able to figure out how to do it, so I'd appreciate any help.

Thanks in advance, Mark

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

No branches or pull requests

1 participant