Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/changelog.d/207.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fix: avoid passing twice same argument
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ def __init__(
message = "PyVistaQt dependency is not installed. Install it with " + \
"`pip install ansys-tools-visualization-interface[pyvistaqt]`."
logger.warning(message)
# Avoiding having duplicated argument
plotter_kwargs.pop("off_screen", None)
scene = pv.Plotter(off_screen=True, **plotter_kwargs)
elif use_qt:
scene = pyvistaqt.BackgroundPlotter()
Expand Down
Loading