File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ def mobjects_without_canvas(self) -> Sequence[Mobject]:
258258
259259 @property
260260 def wait_time_between_slides (self ) -> float :
261- """
261+ r """
262262 Returns the wait duration (in seconds) added between two slides.
263263
264264 By default, this value is set to 0.
@@ -283,7 +283,10 @@ def wait_time_between_slides(self) -> float:
283283 class WithoutWaitExample(Slide):
284284 def construct(self):
285285 circle = Circle(radius=2)
286+ arrow = Arrow().next_to(circle, RIGHT).scale(-1)
287+ text = Text("Small\ngap").next_to(arrow, RIGHT)
286288
289+ self.play(Create(arrow), FadeIn(text))
287290 self.play(Create(circle))
288291 self.next_slide()
289292
@@ -298,7 +301,10 @@ class WithWaitExample(Slide):
298301 def construct(self):
299302 self.wait_time_between_slides = 0.1 # A small value > 1 / FPS
300303 circle = Circle(radius=2)
304+ arrow = Arrow().next_to(circle, RIGHT).scale(-1)
305+ text = Text("No more\ngap").next_to(arrow, RIGHT)
301306
307+ self.play(Create(arrow), FadeIn(text))
302308 self.play(Create(circle))
303309 self.next_slide()
304310
You can’t perform that action at this time.
0 commit comments