@@ -343,13 +343,14 @@ def match_window(
343343 Should be called when the window is resized.
344344
345345 Args:
346- and_projection: Flag whether to also equalize the projection to the viewport.
346+ viewport: Flag whether to equalise the viewport to the value.
347+ projection: Flag whether to also equalize the projection to the viewport.
347348 On by default
348- and_scissor : Flag whether to also equalize the scissor box to the viewport.
349+ scissor : Flag whether to also equalize the scissor box to the viewport.
349350 On by default
350- and_position : Flag whether to also center the camera to the viewport.
351+ position : Flag whether to also center the camera to the viewport.
351352 Off by default
352- aspect_ratio : The ratio between width and height that the viewport should
353+ aspect : The ratio between width and height that the viewport should
353354 be constrained to. If unset then the viewport just matches the window
354355 size. The aspect ratio describes how much larger the width should be
355356 compared to the height. i.e. for an aspect ratio of ``4:3`` you should
@@ -383,7 +384,7 @@ def match_target(
383384 scissor: Flag whether to update the scissor value.
384385 position: Flag whether to also center the camera to the value.
385386 Off by default
386- aspect_ratio : The ratio between width and height that the value should
387+ aspect : The ratio between width and height that the value should
387388 be constrained to. i.e. for an aspect ratio of ``4:3`` you should
388389 input ``4.0/3.0`` or ``1.33333...``. Cannot be equal to zero.
389390 If unset then the value will not be updated.
@@ -425,7 +426,7 @@ def update_values(
425426 scissor: Flag whether to update the scissor value.
426427 position: Flag whether to also center the camera to the value.
427428 Off by default
428- aspect_ratio : The ratio between width and height that the value should
429+ aspect : The ratio between width and height that the value should
429430 be constrained to. i.e. for an aspect ratio of ``4:3`` you should
430431 input ``4.0/3.0`` or ``1.33333...``. Cannot be equal to zero.
431432 If unset then the value will not be updated.
0 commit comments