From f3266a5dbb18d4ab5c1424da7129d4db7eb6e8d2 Mon Sep 17 00:00:00 2001 From: fdrgsp Date: Thu, 8 Aug 2024 22:04:57 -0400 Subject: [PATCH] fix: clear --- src/pymmcore_widgets/hcs/_plate_navigator_widget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pymmcore_widgets/hcs/_plate_navigator_widget.py b/src/pymmcore_widgets/hcs/_plate_navigator_widget.py index e8cbd1f7a..786bc00f5 100644 --- a/src/pymmcore_widgets/hcs/_plate_navigator_widget.py +++ b/src/pymmcore_widgets/hcs/_plate_navigator_widget.py @@ -418,7 +418,7 @@ def setPlate(self, plan: useq.WellPlate | useq.WellPlatePlan) -> None: def clear(self) -> None: """Clear the plate view.""" - self._plate_view.clear() + self._plate_view._scene.clear() def _on_position_changed(self, position: tuple[float, float] | None) -> None: if position is None: