Skip to content

Commit

Permalink
added argument for off screen (#1125)
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Profizi <100710998+PProfizi@users.noreply.github.com>
  • Loading branch information
ayush-kumar-423 and PProfizi authored Dec 14, 2023
1 parent 771f568 commit 280250f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/02-modal_analyses/01-plot_and_animate_modes.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@

###############################################################################
# Animate a mode shape
# To suppress window pop-up, set the `off_screen` argument to True.
# ~~~~~~~~~~~~~~~~~~~~

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

0 comments on commit 280250f

Please sign in to comment.