diff --git a/src/penai/render.py b/src/penai/render.py index eeb5222..293cec5 100644 --- a/src/penai/render.py +++ b/src/penai/render.py @@ -131,6 +131,8 @@ def _render_svg( ), ) + print('bbox', bbox) + # Set the window size to the size of the SVG element, assuming that it is placed at the origin. # We add a small buffer to the window size to account for margins, scrollbars, etc. self.web_driver.set_window_size(bbox.width + 32, bbox.height + 32)