|
10 | 10 |
|
11 | 11 | from manimlib.animation.animation import prepare_animation |
12 | 12 | from manimlib.animation.transform import MoveToTarget |
13 | | -from manimlib.mobject.mobject import Point |
14 | 13 | from manimlib.camera.camera import Camera |
15 | 14 | from manimlib.constants import DEFAULT_WAIT_TIME |
16 | 15 | from manimlib.mobject.mobject import Mobject |
| 16 | +from manimlib.mobject.mobject import Point |
17 | 17 | from manimlib.scene.scene_file_writer import SceneFileWriter |
18 | 18 | from manimlib.utils.config_ops import digest_config |
19 | 19 | from manimlib.utils.family_ops import extract_mobject_family_members |
@@ -101,8 +101,8 @@ def interact(self): |
101 | 101 | # If there is a window, enter a loop |
102 | 102 | # which updates the frame while under |
103 | 103 | # the hood calling the pyglet event loop |
104 | | - log.info("Tips: You are now in the interactive mode. Now you can use the keyboard\ |
105 | | -and the mouse to interact with the scene. Just press `q` if you want to quit.") |
| 104 | + log.info("Tips: You are now in the interactive mode. Now you can use the keyboard" |
| 105 | + " and the mouse to interact with the scene. Just press `q` if you want to quit.") |
106 | 106 | self.quit_interaction = False |
107 | 107 | self.lock_static_mobject_data() |
108 | 108 | while not (self.window.is_closing or self.quit_interaction): |
@@ -134,8 +134,8 @@ def embed(self): |
134 | 134 | local_ns["touch"] = self.interact |
135 | 135 | for term in ("play", "wait", "add", "remove", "clear", "save_state", "restore"): |
136 | 136 | local_ns[term] = getattr(self, term) |
137 | | - log.info("Tips: Now the embed iPython terminal is open. But you can't interact with \ |
138 | | -the window directly. To do so, you need to type `touch()` or `self.interact()`") |
| 137 | + log.info("Tips: Now the embed iPython terminal is open. But you can't interact with" |
| 138 | + " the window directly. To do so, you need to type `touch()` or `self.interact()`") |
139 | 139 | shell(local_ns=local_ns, stack_depth=2) |
140 | 140 | # End scene when exiting an embed. |
141 | 141 | raise EndSceneEarlyException() |
@@ -463,9 +463,7 @@ def finish_animations(self, animations): |
463 | 463 | @handle_play_like_call |
464 | 464 | def play(self, *args, **kwargs): |
465 | 465 | if len(args) == 0: |
466 | | - log.warning( |
467 | | - "Called Scene.play with no animations" |
468 | | - ) |
| 466 | + log.warning("Called Scene.play with no animations") |
469 | 467 | return |
470 | 468 | animations = self.anims_from_play_args(*args, **kwargs) |
471 | 469 | self.lock_static_mobject_data(*animations) |
|
0 commit comments