Skip to content

Comments

Update all examples that use TimeSeriesScalar to use Scalar instead#5042

Merged
teh-cmc merged 15 commits intomainfrom
andreas/update-timeseries-examples
Feb 6, 2024
Merged

Update all examples that use TimeSeriesScalar to use Scalar instead#5042
teh-cmc merged 15 commits intomainfrom
andreas/update-timeseries-examples

Conversation

@Wumpf
Copy link
Member

@Wumpf Wumpf commented Feb 5, 2024

What

Also fixes missing serialization of StrokeWidth & MarkerSize

image

blocked by a few things:

Checklist

  • I have read and agree to Contributor Guide and the Code of Conduct
  • I've included a screenshot or gif (if applicable)
  • I have tested the web demo (if applicable):
  • The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG

@Wumpf Wumpf added 📖 documentation Improvements or additions to documentation examples Issues relating to the Rerun examples include in changelog labels Feb 5, 2024
@github-actions
Copy link

github-actions bot commented Feb 5, 2024

Size changes

Name main 5042/merge Change
plots.rrd 1.34 MiB 1.03 MiB -23.13%

Wumpf added a commit that referenced this pull request Feb 6, 2024
### What

* Needed by #5042

Last commit also removes the now fairly useless Text component on Scalar
(until we support labeling points).
This makes it a bit less compatible with the legacy TimeSeriesScalar,
but that in and on itself shouldn't be much of a problem.

<img width="538" alt="image"
src="https://github.com/rerun-io/rerun/assets/1220815/5950303f-cad3-4302-acb8-55e3aba3778a">


### Checklist
* [x] I have read and agree to [Contributor
Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and
the [Code of
Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md)
* [x] I've included a screenshot or gif (if applicable)
* [x] I have tested the web demo (if applicable):
* Using newly built examples:
[app.rerun.io](https://app.rerun.io/pr/5043/index.html)
* Using examples from latest `main` build:
[app.rerun.io](https://app.rerun.io/pr/5043/index.html?manifest_url=https://app.rerun.io/version/main/examples_manifest.json)
* Using full set of examples from `nightly` build:
[app.rerun.io](https://app.rerun.io/pr/5043/index.html?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json)
* [x] The PR title and labels are set such as to maximize their
usefulness for the next release's CHANGELOG

- [PR Build Summary](https://build.rerun.io/pr/5043)
- [Docs
preview](https://rerun.io/preview/5da9bca98bbf24bf8671388a5190eef75e1e6019/docs)
<!--DOCS-PREVIEW-->
- [Examples
preview](https://rerun.io/preview/5da9bca98bbf24bf8671388a5190eef75e1e6019/examples)
<!--EXAMPLES-PREVIEW-->
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
@Wumpf Wumpf mentioned this pull request Feb 6, 2024
4 tasks
@Wumpf Wumpf changed the base branch from main to andreas/marker-size-component February 6, 2024 11:05
@Wumpf Wumpf force-pushed the andreas/update-timeseries-examples branch from 151f984 to c0a0026 Compare February 6, 2024 11:17
@Wumpf Wumpf marked this pull request as ready for review February 6, 2024 11:17
@Wumpf Wumpf force-pushed the andreas/update-timeseries-examples branch 2 times, most recently from 274acc3 to fec976e Compare February 6, 2024 11:26
Base automatically changed from andreas/marker-size-component to main February 6, 2024 11:41
teh-cmc pushed a commit that referenced this pull request Feb 6, 2024
### What

* Needed for #5042

Allows to configure size again for points wiht the new PointSeries
archetype.

Makes size of plot line and marker independent which is kinda neat :)
<img width="952" alt="image"
src="https://github.com/rerun-io/rerun/assets/1220815/cd24a449-e839-4db2-abf5-782e8dcf96af">
(Color is *not* independent, we'll want to solve this differently in the
future in accordance to the model we're going with, but up for
discussion obviously)
@teh-cmc teh-cmc self-requested a review February 6, 2024 11:41
@teh-cmc teh-cmc force-pushed the andreas/update-timeseries-examples branch from fec976e to d876540 Compare February 6, 2024 11:42
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dang that's like the first time one of our example makes real use of the per-component latest-at semantics 😱

@teh-cmc
Copy link
Member

teh-cmc commented Feb 6, 2024

TODO:

  • simple -- py
  • simple -- rs
  • simple -- cpp
  • multiple -- py
  • multiple -- rs
  • multiple -- cpp
  • dashboard -- py
  • dashboard -- rs
  • dashboard -- cpp
  • misc - py
  • misc - web

@teh-cmc teh-cmc merged commit b9cd458 into main Feb 6, 2024
@teh-cmc teh-cmc deleted the andreas/update-timeseries-examples branch February 6, 2024 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📖 documentation Improvements or additions to documentation examples Issues relating to the Rerun examples include in changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants