We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7eb104b + e17d70b commit 4878dbcCopy full SHA for 4878dbc
doc/source/user_guide/tutorials/animate/animate_time.rst
@@ -234,7 +234,7 @@ Varying scaling
234
:hide-output:
235
236
# Define a varying scale factor
237
- varying_scale_factor = [i for i in range(len(disp_fc))]
+ varying_scale_factor = [float(i) for i in range(len(disp_fc))]
238
# Animate the displacements
239
disp_fc.animate(scale_factor=varying_scale_factor)
240
0 commit comments