pyvista.start_xvfb#
- start_xvfb(wait=3, window_size=None)[source]#
Start the virtual framebuffer Xvfb.
- Parameters:
- wait
float
,optional
Time to wait for the virtual framebuffer to start. Set to 0 to disable wait.
- window_size
list
,optional
Window size of the virtual frame buffer. Defaults to
pyvista.global_theme.window_size
.
- wait
Notes
Only available on Linux. Be sure to install
libgl1-mesa-glx xvfb
in your package manager.Examples
>>> import pyvista as pv >>> pv.start_xvfb()