Skip to content

Display individual events on zoomed-in timeline density graph #7200

@Famok

Description

@Famok

Describe the bug
When sending (scalar) values via the send_columns the timeline might stop showing individual points and only a line.
Logging the same values using set_time_seconds and log Scalar will show these.

To Reproduce

import rerun as rr
import numpy as np

rr.init('test',spawn=True)

times = np.linspace(0,1,10000)
y = np.random.rand(len(times))

rr.send_columns(
                                f'myval',
                                times=[rr.TimeSecondsColumn("sensor_time", times)],
                                components=[rr.components.ScalarBatch(y)],
                            )

# And now the same using normal logcalls
for i,t in enumerate(times):
    rr.set_time_seconds('sensor_time',t)
    rr.log('anotherval', rr.Scalar(y[i]))

Expected behavior
I expect the timeline to look the same as with normal log calls

Screenshots
Would love to, but seems like I can't upload screenshots

Desktop (please complete the following information):
Windows 11 23H2

Rerun version
rerun_py 0.18.0-alpha.1+dev [rustc 1.76.0 (07dca489a 2024-02-04), LLVM 17.0.6] x86_64-pc-windows-msvc main 9e50d2c, built 2024-08-14T13:15:39Z

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions