Skip to content

Commit 45843ed

Browse files
authored
fix set logical size in JupyterRenderCanvas (#50)
1 parent 9fc9627 commit 45843ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rendercanvas/jupyter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ def _rc_get_pixel_ratio(self):
9292
return self._pixel_ratio
9393

9494
def _rc_set_logical_size(self, width, height):
95+
self._logical_size = width, height
9596
self.css_width = f"{width}px"
9697
self.css_height = f"{height}px"
9798

0 commit comments

Comments
 (0)