updated some breaking scenes to python3

This commit is contained in:
Ishan Dutta
2018-09-19 08:53:28 +05:30
parent 384895b9a8
commit 78b14c8be8
39 changed files with 82 additions and 81 deletions

View File

@ -272,7 +272,7 @@ class StreamLines(VGroup):
if get_norm(last_point) > self.cutoff_norm:
break
line = VMobject()
step = max(1, len(points) / self.n_anchors_per_line)
step = max(1, int(len(points) / self.n_anchors_per_line))
line.set_points_smoothly(points[::step])
self.add(line)