Skip to content

Commit 280250f

Browse files
added argument for off screen (#1125)
Co-authored-by: Paul Profizi <[email protected]>
1 parent 771f568 commit 280250f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/02-modal_analyses/01-plot_and_animate_modes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848

4949
###############################################################################
5050
# Animate a mode shape
51+
# To suppress window pop-up, set the `off_screen` argument to True.
5152
# ~~~~~~~~~~~~~~~~~~~~
5253

53-
animation.animate_mode(disp, mode_number=1, save_as="tmp.gif")
54+
animation.animate_mode(disp, mode_number=1, save_as="tmp.gif", off_screen=True)

0 commit comments

Comments
 (0)