We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b1046f commit 908278cCopy full SHA for 908278c
doc/changelog.d/207.fixed.md
@@ -0,0 +1 @@
1
+fix: avoid passing twice same argument
src/ansys/tools/visualization_interface/backends/pyvista/pyvista_interface.py
@@ -88,6 +88,8 @@ def __init__(
88
message = "PyVistaQt dependency is not installed. Install it with " + \
89
"`pip install ansys-tools-visualization-interface[pyvistaqt]`."
90
logger.warning(message)
91
+ # Avoiding having duplicated argument
92
+ plotter_kwargs.pop("off_screen", None)
93
scene = pv.Plotter(off_screen=True, **plotter_kwargs)
94
elif use_qt:
95
scene = pyvistaqt.BackgroundPlotter()
0 commit comments