start_xvfb

start_xvfb(wait=3, window_size=None)

Start the virtual framebuffer Xvfb.

Parameters
waitfloat, optional

Time to wait for the virtual framebuffer to start. Set to 0 to disable wait.

window_sizelist, optional

Window size of the virtual frame buffer. Defaults to pyvista.global_theme.window_size.

Notes

Only available on Linux. Be sure to install libgl1-mesa-glx xvfb in your package manager.

Examples

>>> import pyvista
>>> pyvista.start_xvfb()