mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
124 lines
6.1 KiB
Text
124 lines
6.1 KiB
Text
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: Manim \n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
#: ../../source/reference/manim.utils.ipython_magic.ManimMagic.rst:2
|
|
msgid "ManimMagic"
|
|
msgstr ""
|
|
|
|
#: ../../source/reference/manim.utils.ipython_magic.ManimMagic.rst:4
|
|
msgid "Qualified name: ``manim.utils.ipython\\_magic.ManimMagic``"
|
|
msgstr ""
|
|
|
|
#: ../../../manim/utils/ipython_magic.py:docstring of manim.utils.ipython_magic.ManimMagic:1
|
|
msgid "Bases: :py:class:`IPython.core.magic.Magics`"
|
|
msgstr ""
|
|
|
|
#: ../../../manim/utils/ipython_magic.py:docstring of manim.utils.ipython_magic.ManimMagic:1
|
|
msgid "Create a configurable given a config config."
|
|
msgstr ""
|
|
|
|
#: ../../../manim/utils/ipython_magic.py:docstring of manim.utils.ipython_magic.ManimMagic:0
|
|
#: ../../../manim/utils/ipython_magic.py:docstring of manim.utils.ipython_magic.ManimMagic.manim:0
|
|
msgid "Parameters"
|
|
msgstr ""
|
|
|
|
#: ../../../manim/utils/ipython_magic.py:docstring of manim.utils.ipython_magic.ManimMagic:3
|
|
msgid "If this is empty, default values are used. If config is a :class:`Config` instance, it will be used to configure the instance."
|
|
msgstr ""
|
|
|
|
#: ../../../manim/utils/ipython_magic.py:docstring of manim.utils.ipython_magic.ManimMagic:7
|
|
msgid "The parent Configurable instance of this object."
|
|
msgstr ""
|
|
|
|
#: ../../../manim/utils/ipython_magic.py:docstring of manim.utils.ipython_magic.ManimMagic:0
|
|
#: ../../../manim/utils/ipython_magic.py:docstring of manim.utils.ipython_magic.ManimMagic.manim:0
|
|
msgid "Return type"
|
|
msgstr ""
|
|
|
|
#: ../../../manim/utils/ipython_magic.py:docstring of manim.utils.ipython_magic.ManimMagic:11
|
|
msgid "Notes"
|
|
msgstr ""
|
|
|
|
#: ../../../manim/utils/ipython_magic.py:docstring of manim.utils.ipython_magic.ManimMagic:12
|
|
msgid "Subclasses of Configurable must call the :meth:`__init__` method of :class:`Configurable` *before* doing anything else and using :func:`super`::"
|
|
msgstr ""
|
|
|
|
#: ../../../manim/utils/ipython_magic.py:docstring of manim.utils.ipython_magic.ManimMagic:21
|
|
msgid "This ensures that instances will be configured properly."
|
|
msgstr ""
|
|
|
|
#: ../../source/reference/manim.utils.ipython_magic.ManimMagic.rst:14
|
|
msgid "Methods"
|
|
msgstr ""
|
|
|
|
#: ../../source/reference/manim.utils.ipython_magic.ManimMagic.rst:21:<autosummary>:1
|
|
msgid "Render Manim scenes contained in IPython cells."
|
|
msgstr ""
|
|
|
|
#: ../../source/reference/manim.utils.ipython_magic.ManimMagic.rst:23
|
|
msgid "Attributes"
|
|
msgstr ""
|
|
|
|
#: ../../../manim/utils/ipython_magic.py:docstring of manim.utils.ipython_magic.ManimMagic.manim:1:<autosummary>:1
|
|
#: ../../../manim/utils/ipython_magic.py:docstring of manim.utils.ipython_magic.ManimMagic.manim:1:<autosummary>:1
|
|
msgid "A trait whose value must be an instance of a specified class."
|
|
msgstr ""
|
|
|
|
#: ../../../manim/utils/ipython_magic.py:docstring of manim.utils.ipython_magic.ManimMagic.manim:1:<autosummary>:1
|
|
msgid "A contextmanager for running a block with our cross validation lock set to True."
|
|
msgstr ""
|
|
|
|
#: ../../../manim/utils/ipython_magic.py:docstring of manim.utils.ipython_magic.ManimMagic.manim:1
|
|
msgid "Render Manim scenes contained in IPython cells. Works as a line or cell magic."
|
|
msgstr ""
|
|
|
|
#: ../../../manim/utils/ipython_magic.py:docstring of manim.utils.ipython_magic.ManimMagic.manim:6
|
|
msgid "This line and cell magic works best when used in a JupyterLab environment: while all of the functionality is available for classic Jupyter notebooks as well, it is possible that videos sometimes don't update on repeated execution of the same cell if the scene name stays the same."
|
|
msgstr ""
|
|
|
|
#: ../../../manim/utils/ipython_magic.py:docstring of manim.utils.ipython_magic.ManimMagic.manim:12
|
|
msgid "This problem does not occur when using JupyterLab."
|
|
msgstr ""
|
|
|
|
#: ../../../manim/utils/ipython_magic.py:docstring of manim.utils.ipython_magic.ManimMagic.manim:14
|
|
msgid "Please refer to `<https://jupyter.org/>`_ for more information about JupyterLab and Jupyter notebooks."
|
|
msgstr ""
|
|
|
|
#: ../../../manim/utils/ipython_magic.py:docstring of manim.utils.ipython_magic.ManimMagic.manim:17
|
|
msgid "Usage in line mode::"
|
|
msgstr ""
|
|
|
|
#: ../../../manim/utils/ipython_magic.py:docstring of manim.utils.ipython_magic.ManimMagic.manim:21
|
|
msgid "Usage in cell mode::"
|
|
msgstr ""
|
|
|
|
#: ../../../manim/utils/ipython_magic.py:docstring of manim.utils.ipython_magic.ManimMagic.manim:29
|
|
msgid "Run ``%manim --help`` and ``%manim render --help`` for possible command line interface options."
|
|
msgstr ""
|
|
|
|
#: ../../../manim/utils/ipython_magic.py:docstring of manim.utils.ipython_magic.ManimMagic.manim:33
|
|
msgid "The maximal width of the rendered videos that are displayed in the notebook can be configured via the ``media_width`` configuration option. The default is set to ``25vw``, which is 25% of your current viewport width. To allow the output to become as large as possible, set ``config.media_width = \"100%\"``."
|
|
msgstr ""
|
|
|
|
#: ../../../manim/utils/ipython_magic.py:docstring of manim.utils.ipython_magic.ManimMagic.manim:38
|
|
msgid "The ``media_embed`` option will embed the image/video output in the notebook. This is generally undesirable as it makes the notebooks very large, but is required on some platforms (notably Google's CoLab, where it is automatically enabled unless suppressed by ``config.embed = False``) and needed in cases when the notebook (or converted HTML file) will be moved relative to the video locations. Use-cases include building documentation with Sphinx and JupyterBook. See also the :mod:`manim directive for Sphinx <manim.utils.docbuild.manim_directive>`."
|
|
msgstr ""
|
|
|
|
#: ../../../manim/utils/ipython_magic.py:docstring of manim.utils.ipython_magic.ManimMagic.manim:47
|
|
msgid "Examples"
|
|
msgstr ""
|
|
|
|
#: ../../../manim/utils/ipython_magic.py:docstring of manim.utils.ipython_magic.ManimMagic.manim:48
|
|
msgid "First make sure to put ``import manim``, or even ``from manim import *`` in a cell and evaluate it. Then, a typical Jupyter notebook cell for Manim could look as follows::"
|
|
msgstr ""
|
|
|
|
#: ../../../manim/utils/ipython_magic.py:docstring of manim.utils.ipython_magic.ManimMagic.manim:64
|
|
msgid "Evaluating this cell will render and display the ``BannerExample`` scene defined in the body of the cell."
|
|
msgstr ""
|
|
|
|
|