Skip to content

Commit d3cc20d

Browse files
committed
Showcase the deform_scale_factor parameter of animate_mode in example
1 parent 01085e1 commit d3cc20d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/02-modal_analyses/01-plot_and_animate_modes.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,6 @@
7272
# To suppress window pop-up, set the `off_screen` argument to True.
7373
# ~~~~~~~~~~~~~~~~~~~~
7474

75-
animation.animate_mode(disp, mode_number=1, save_as="tmp.gif", off_screen=True)
75+
animation.animate_mode(
76+
disp, mode_number=1, save_as="tmp.gif", off_screen=True, deform_scale_factor=10.0
77+
)

0 commit comments

Comments
 (0)