Skip to content

Commit 580da4a

Browse files
committed
chore(docs): add some more indications
1 parent 0de877e commit 580da4a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

manim_slides/slide.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)