Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
jleibs committed Mar 6, 2024
1 parent 9a57ba2 commit 680ac6f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/python/blueprint/main.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from __future__ import annotations

import uuid
import itertools
from numpy.random import default_rng
import uuid

import rerun as rr
from numpy.random import default_rng
from rerun.blueprint.archetypes.container_blueprint import ContainerBlueprint
from rerun.blueprint.archetypes.space_view_blueprint import SpaceViewBlueprint
from rerun.blueprint.archetypes.space_view_contents import SpaceViewContents
Expand Down Expand Up @@ -128,6 +128,7 @@ def create_blueprint(viewport: Viewport):
rr.init("rerun_example_blueprint_test", spawn=True)
rr.log("test1", rr.Points3D(positions, colors=colors, radii=radii))
rr.log("test2", rr.Points2D(positions[:, :2], colors=colors, radii=radii))

root = Vertical(
Spatial3D(origin="/test1"),
Horizontal(
Expand All @@ -139,4 +140,5 @@ def create_blueprint(viewport: Viewport):
),
)
viewport = Viewport(root)

create_blueprint(viewport)

0 comments on commit 680ac6f

Please sign in to comment.