diff --git a/docs/content/reference/types/views/spatial2d_view.md b/docs/content/reference/types/views/spatial2d_view.md index 8e70bcd35afc0..463ef2947b3a2 100644 --- a/docs/content/reference/types/views/spatial2d_view.md +++ b/docs/content/reference/types/views/spatial2d_view.md @@ -20,6 +20,9 @@ Somethings outside of these bounds may also be visible due to letterboxing. ### `time_ranges` Configures which range on each timeline is shown by this view (unless specified differently per entity). +If not specified, the default is to show the latest state of each component. +If a timeline is specified more than once, the first entry will be used. + ## Api reference links * 🐍 [Python API docs for `Spatial2DView`](https://ref.rerun.io/docs/python/stable/common/blueprint_views?speculative-link#rerun.blueprint.views.Spatial2DView) diff --git a/docs/content/reference/types/views/spatial3d_view.md b/docs/content/reference/types/views/spatial3d_view.md index 63c6e212b1216..637b01099b996 100644 --- a/docs/content/reference/types/views/spatial3d_view.md +++ b/docs/content/reference/types/views/spatial3d_view.md @@ -15,6 +15,9 @@ Configuration for the background of the view. ### `time_ranges` Configures which range on each timeline is shown by this view (unless specified differently per entity). +If not specified, the default is to show the latest state of each component. +If a timeline is specified more than once, the first entry will be used. + ## Api reference links * 🐍 [Python API docs for `Spatial3DView`](https://ref.rerun.io/docs/python/stable/common/blueprint_views?speculative-link#rerun.blueprint.views.Spatial3DView) diff --git a/docs/content/reference/types/views/time_series_view.md b/docs/content/reference/types/views/time_series_view.md index 980da9468706b..186ccb312aba8 100644 --- a/docs/content/reference/types/views/time_series_view.md +++ b/docs/content/reference/types/views/time_series_view.md @@ -20,6 +20,9 @@ Configures the legend of the plot. ### `time_ranges` Configures which range on each timeline is shown by this view (unless specified differently per entity). +If not specified, the default is to show the entire timeline. +If a timeline is specified more than once, the first entry will be used. + ## Api reference links * 🐍 [Python API docs for `TimeSeriesView`](https://ref.rerun.io/docs/python/stable/common/blueprint_views?speculative-link#rerun.blueprint.views.TimeSeriesView) diff --git a/rerun_py/rerun_sdk/rerun/blueprint/views/spatial2d_view.py b/rerun_py/rerun_sdk/rerun/blueprint/views/spatial2d_view.py index 6d10a4ec897fe..dbc29d6ed133f 100644 --- a/rerun_py/rerun_sdk/rerun/blueprint/views/spatial2d_view.py +++ b/rerun_py/rerun_sdk/rerun/blueprint/views/spatial2d_view.py @@ -24,10 +24,9 @@ class Spatial2DView(SpaceView): ------- ### Use a blueprint to customize a Spatial2DView.: ```python + import numpy as np import rerun as rr import rerun.blueprint as rrb - from numpy.random import default_rng - import numpy as np rr.init("rerun_example_spatial_2d", spawn=True)