pyvista.Plotter.window_size#
- property Plotter.window_size: list[int][source]#
Return the render window size in
(width, height).Examples
Change the window size from
200 x 200to400 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]