Skip to content
Merged
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
8 changes: 7 additions & 1 deletion src/ansys/mapdl/core/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ def general_plotter(
Shows a vtk axes widget. Enabled by default.

savefig : str, optional
Saves screenshot to a file path.
Saves screenshot to a file path. If used, ``notebook`` and
``off_screen`` are evaluated to ``False`` and ``True``
respectively.

style : string, optional
Visualization style of the mesh. One of the following:
Expand Down Expand Up @@ -213,6 +215,10 @@ def general_plotter(
if notebook:
off_screen = True

if savefig:
off_screen = True
notebook = False

if theme is None:
theme = MapdlTheme()

Expand Down