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

Time Series reset view issue when hiding data via the view ui #7343

Open
NickLaurenson-Visionick opened this issue Sep 3, 2024 · 1 comment
Labels
😤 annoying Something in the UI / SDK is annoying to use 🪳 bug Something isn't working 📈 plot Plots, charts, graphs, timeseries, …

Comments

@NickLaurenson-Visionick
Copy link
Contributor

Describe the annoyance

Resseting the view in a Time Series doesn't work when some data are hidden via the View. It behave as if the data is still visible.

When we hide the data via the blueprint panel, it work as espected.

To Reproduce
Steps to reproduce the behavior:

  1. Run this script
"""Log a scalar over time."""

from math import cos, sin, tau

import rerun as rr

rr.init("rerun_example_series_line_style", spawn=True)

# Set up plot styling:
# They are logged as static as they don't change over time and apply to all timelines.
# Log two lines series under a shared root so that they show in the same plot by default.
rr.log("trig/sin",
       rr.SeriesLine(color=[255, 0, 0], name="sin(0.01t)", width=2), static=True)
rr.log("trig/cos",
       rr.SeriesLine(color=[0, 255, 0], name="cos(0.01t)", width=4), static=True)

# Log the data on a timeline called "step".
for t in range(0, int(tau * 2 * 100.0)):
    rr.set_time_sequence("step", t)

    rr.log("trig/sin", rr.Scalar((sin(float(t) / 100.0)+100)))
    rr.log("trig/cos", rr.Scalar(cos(float(t) / 100.0)))
  1. Click here:
    image

  2. double click on the View to reset the camera

Expected behavior

Desktop (please complete the following information):

  • OS: ubuntu 22.04
@NickLaurenson-Visionick NickLaurenson-Visionick added 👀 needs triage This issue needs to be triaged by the Rerun team 😤 annoying Something in the UI / SDK is annoying to use labels Sep 3, 2024
@Wumpf Wumpf added 🪳 bug Something isn't working 📈 plot Plots, charts, graphs, timeseries, … and removed 👀 needs triage This issue needs to be triaged by the Rerun team labels Sep 9, 2024
@Wumpf
Copy link
Member

Wumpf commented Sep 9, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
😤 annoying Something in the UI / SDK is annoying to use 🪳 bug Something isn't working 📈 plot Plots, charts, graphs, timeseries, …
Projects
None yet
Development

No branches or pull requests

2 participants