From d0a40c7952bbdb478f9374dcc5d20d85762da317 Mon Sep 17 00:00:00 2001 From: Kushal Kolar Date: Thu, 26 Dec 2024 07:15:47 -0500 Subject: [PATCH] fix set logical size in JupyterRenderCanvas --- rendercanvas/jupyter.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rendercanvas/jupyter.py b/rendercanvas/jupyter.py index f09c2cc..cd7392c 100644 --- a/rendercanvas/jupyter.py +++ b/rendercanvas/jupyter.py @@ -92,6 +92,7 @@ def _rc_get_pixel_ratio(self): return self._pixel_ratio def _rc_set_logical_size(self, width, height): + self._logical_size = width, height self.css_width = f"{width}px" self.css_height = f"{height}px"