pyvista / pyvista-support

[moved] Please head over to the Discussions tab of the PyVista repository
https://github.com/pyvista/pyvista/discussions
59 stars 4 forks source link

Window popping up while off_screen set to be true. #478

Open 109021017 opened 3 years ago

109021017 commented 3 years ago

Description

Black window popping up while off_screen set to be true. The title of the window is 'Visualization Toolkit-OpenGL'.

Here's the code I'm running:

import pyvista as pv

p = pv.Plotter(off_screen=True)
p.add_mesh(pv.Sphere())
p.show()

I'm running this on Ubuntu 20.04 with

vtk==8.1.2
pyvista==0.31.1