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

tickmode for durations #3915

Open
vallsv opened this issue Jul 25, 2023 · 0 comments
Open

tickmode for durations #3915

vallsv opened this issue Jul 25, 2023 · 0 comments

Comments

@vallsv
Copy link
Contributor

vallsv commented Jul 25, 2023

It could be interesting to add an extra tick mode for durations if it is not too complex to implement, as we already have a tickmode for time series.

Right now i have to use:

# NOTE: There is no plot axis for duration
# the elapse time will be displayed in 1970
# the UTC force to display 0 at 0
axis.setTickMode(axis_mdl.TickMode.TIME_SERIES)
axis.setTimeZone("UTC")

It works but

  • labels on the negative side of the axis are displayed, which is surprising
  • for long scans maybe some labels will be displayed with "1970" text, or number of days or months like 01
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