diff --git a/rerun_py/rerun_sdk/depthai_viewer_backend/sdk_callbacks.py b/rerun_py/rerun_sdk/depthai_viewer_backend/sdk_callbacks.py index 458e206f39f1..bdecd81a9366 100644 --- a/rerun_py/rerun_sdk/depthai_viewer_backend/sdk_callbacks.py +++ b/rerun_py/rerun_sdk/depthai_viewer_backend/sdk_callbacks.py @@ -3,15 +3,20 @@ import cv2 import depthai as dai import numpy as np +import rerun as rr from ahrs.filters import Mahony from depthai_sdk import FramePacket -from depthai_sdk.classes.packets import DetectionPacket, IMUPacket, PointcloudPacket, TwoStagePacket +from depthai_sdk.classes.packets import ( + DetectionPacket, + IMUPacket, + PointcloudPacket, + TwoStagePacket, +) +from rerun.components.rect2d import RectFormat -import rerun as rr from depthai_viewer_backend import classification_labels from depthai_viewer_backend.store import Store from depthai_viewer_backend.topic import Topic -from rerun.components.rect2d import RectFormat class EntityPath: diff --git a/rerun_py/rerun_sdk/rerun_demo/__main__.py b/rerun_py/rerun_sdk/rerun_demo/__main__.py index 57f88827db29..ce5a5b34fdf4 100644 --- a/rerun_py/rerun_sdk/rerun_demo/__main__.py +++ b/rerun_py/rerun_sdk/rerun_demo/__main__.py @@ -9,7 +9,6 @@ def run_cube(): import math import numpy as np - import rerun as rr rr.init("Cube", spawn=True, default_enabled=True) diff --git a/rerun_py/rerun_sdk/rerun_demo/data.py b/rerun_py/rerun_sdk/rerun_demo/data.py index c16269b35440..24d6ec894e2b 100644 --- a/rerun_py/rerun_sdk/rerun_demo/data.py +++ b/rerun_py/rerun_sdk/rerun_demo/data.py @@ -4,8 +4,8 @@ from math import cos, sin, tau import numpy as np - from rerun.log.rects import RectFormat + from rerun_demo.turbo import turbo_colormap_data ColorGrid = namedtuple("ColorGrid", ["positions", "colors"]) diff --git a/rerun_py/tests/unit/test_color_conversion.py b/rerun_py/tests/unit/test_color_conversion.py index f7044d2a05d5..cf8c3599ddba 100644 --- a/rerun_py/tests/unit/test_color_conversion.py +++ b/rerun_py/tests/unit/test_color_conversion.py @@ -1,6 +1,5 @@ """Test for color_conversion module.""" import numpy as np - from rerun.color_conversion import linear_to_gamma_u8_pixel, linear_to_gamma_u8_value