Skip to content

Commit

Permalink
Clarify that default behavior for unset Range is Auto
Browse files Browse the repository at this point in the history
  • Loading branch information
jleibs committed Feb 2, 2024
1 parent 3906408 commit f6eeaa2
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ table AxisY (
// --- Optional ---

/// The default range of the y-axis of the plot.
///
/// If unset, the range well be automatically determined based on the data.
range: rerun.components.Range1D ("attr.rerun.component_optional", nullable, order: 2100);

/// How the axis should scale as the plot is zoomed.
Expand Down
2 changes: 2 additions & 0 deletions crates/re_types/src/blueprint/archetypes/axis_y.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/code-examples/all/scalar_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@

for step in range(0, 64):
rr.set_time_sequence("step", step)
rr.log("scalar", rr.TimeSeriesScalar(math.sin(step / 10.0)))
rr.log("scalar", rr.archetypes.Scalar(math.sin(step / 10.0)))
4 changes: 4 additions & 0 deletions rerun_cpp/src/rerun/blueprint/archetypes/axis_y.hpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions rerun_py/rerun_sdk/rerun/blueprint/archetypes/axis_y.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f6eeaa2

Please sign in to comment.