mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Update comments
This commit is contained in:
parent
89e7a0a320
commit
f6dbb1886a
2 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ flag abbr function
|
|||
``--video_dir VIDEO_DIR`` Directory to write video
|
||||
``--config_file CONFIG_FILE`` Path to the custom configuration file
|
||||
``--log-level LOG_LEVEL`` Level of messages to Display, can be DEBUG / INFO / WARNING / ERROR / CRITICAL
|
||||
``--autoreload`` Automatically reload Python modules to pick up code changes across different files
|
||||
``--autoreload`` Automatically reload Python modules to pick up code changes across during an interactive embedding
|
||||
========================================================== ====== =====================================================================================================================================================================================================
|
||||
|
||||
custom_config
|
||||
|
|
|
@ -142,7 +142,7 @@ class InteractiveSceneEmbed:
|
|||
self.shell.run_line_magic("exit_raise", "")
|
||||
|
||||
def auto_reload(self):
|
||||
"""Enables IPython autoreload for automatic reloading of modules."""
|
||||
"""Enables reload the shell's module before all calls"""
|
||||
def pre_cell_func(*args, **kwargs):
|
||||
new_mod = ModuleLoader.get_module(self.shell.user_module.__file__, is_during_reload=True)
|
||||
self.shell.user_ns.update(vars(new_mod))
|
||||
|
|
Loading…
Add table
Reference in a new issue