-
Notifications
You must be signed in to change notification settings - Fork 394
Commit
* Generate plural methods even for mono-components, so they can be used with `send_columns`. * Update `scalar_send_columns` snippet to use new columnar APIs. ```rust const STEPS: i64 = 64; let times = TimeColumn::new_sequence("step", 0..STEPS); let scalars = (0..STEPS).map(|step| (step as f64 / 10.0).sin()); rec.send_columns_v2( "scalars", [times], rerun::Scalar::update_fields() .with_many_scalar(scalars) .columns(std::iter::repeat(1).take(STEPS as _))? .filter(|column| !column.descriptor.component_name.contains("Indicator")), )?; ``` * Follow-up to #8753
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.