Skip to content

Commit 4878dbc

Browse files
authored
Merge branch 'doc/new-tutorials-section' into tutorials/Enriching-DPF-capabilities/Create-custom-operators-and-plugins
2 parents 7eb104b + e17d70b commit 4878dbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/user_guide/tutorials/animate/animate_time.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ Varying scaling
234234
:hide-output:
235235

236236
# Define a varying scale factor
237-
varying_scale_factor = [i for i in range(len(disp_fc))]
237+
varying_scale_factor = [float(i) for i in range(len(disp_fc))]
238238
# Animate the displacements
239239
disp_fc.animate(scale_factor=varying_scale_factor)
240240

0 commit comments

Comments
 (0)