pyvista.Plotter.window_size#

property Plotter.window_size[source]#

Return the render window size in (width, height).

Examples

Change the window size from 200 x 200 to 400 x 400.

>>> import pyvista as pv
>>> pl = pv.Plotter(window_size=[200, 200])
>>> pl.window_size
[200, 200]
>>> pl.window_size = [400, 400]
>>> pl.window_size
[400, 400]
../../../_images/pyvista-Plotter-window_size-1_00_00.png