From fc1e916f428fd605b639e6778e815b973cee5260 Mon Sep 17 00:00:00 2001 From: TonyCrane Date: Mon, 14 Feb 2022 14:03:51 +0800 Subject: [PATCH 1/2] docs: update changelog for #1725 #1727 #1728 #1731 #1739 #1740 --- docs/source/development/changelog.rst | 39 +++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/docs/source/development/changelog.rst b/docs/source/development/changelog.rst index f8cb32b0..5026b501 100644 --- a/docs/source/development/changelog.rst +++ b/docs/source/development/changelog.rst @@ -1,6 +1,45 @@ Changelog ========= +Unreleased +---------- + +Fixed bugs +^^^^^^^^^^ +- `#1740 `__: Bug fix for the case of calling ``Write`` on a null object + + +New Features +^^^^^^^^^^^^ +- `#1725 `__: Added ``TransformMatchingMTex`` +- `#1727 `__: Added ``ImplicitFunction`` +- `#1731 `__: Added ``Polyline`` +- `#1739 `__: Allowed ``Mobject.set_points`` to take in an empty list, and added ``Mobject.add_point`` +- `#1739 `__: Added ``Scene.refresh_locked_data`` +- `#1739 `__: Added presenter mode to scenes with ``-p`` option +- `#1739 `__: Allowed for an embed by hitting ``e`` during interaction +- `#1739 `__: Added ``Mobject.set_min_width/height/depth`` +- `#1739 `__: Allowed ``Mobject.match_coord/x/y/z`` to take in a point + + +Refactor +^^^^^^^^ +- `#1725 `__: Refactored ``MTex`` +- `#1731 `__: Refactored ``SVGMobject`` with svgelements +- `#1739 `__: Made sure ``ParametricCurve`` has at least one point +- `#1739 `__: Set default to no tips on ``Axes`` +- `#1739 `__: Stopped displaying when writing tex string is happening + + +Dependencies +^^^^^^^^^^^^ +- `#1727 `__: Added dependency on ``isosurfaces`` +- `#1728 `__: Removed dependency on ``argparse`` since it's a built-in module +- `#1728 `__: Removed dependency on ``pyreadline`` +- `#1731 `__: Removed dependency on ``cssselect2`` +- `#1731 `__: Added dependency on ``svgelements`` + + v1.4.1 ------ From f29ef87bbaa0a7d3d9a3c8771a898e1c0757f0b5 Mon Sep 17 00:00:00 2001 From: TonyCrane Date: Mon, 14 Feb 2022 19:50:30 +0800 Subject: [PATCH 2/2] style/docs: fix argument help style and update docs for it --- docs/source/getting_started/configuration.rst | 3 ++- manimlib/config.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/source/getting_started/configuration.rst b/docs/source/getting_started/configuration.rst index d62fcba3..9b1a147f 100644 --- a/docs/source/getting_started/configuration.rst +++ b/docs/source/getting_started/configuration.rst @@ -43,6 +43,7 @@ flag abbr function ``--hd`` Render at a 1080p quality ``--uhd`` Render at a 4k quality ``--full_screen`` ``-f`` Show window in full screen +``--presenter_mode`` ``-p`` Scene will stay paused during wait calls until space bar or right arrow is hit, like a slide show ``--save_pngs`` ``-g`` Save each frame as a png ``--save_as_gif`` ``-i`` Save the video as gif ``--transparent`` ``-t`` Render to a movie file with an alpha channel @@ -58,7 +59,7 @@ flag abbr function ``--frame_rate FRAME_RATE`` Frame rate, as an integer ``--color COLOR`` ``-c`` Background color ``--leave_progress_bars`` Leave progress bars displayed in terminal -``--video_dir VIDEO_DIR`` directory to write video +``--video_dir VIDEO_DIR`` Directory to write video ``--config_file CONFIG_FILE`` Path to the custom configuration file ========================================================== ====== ================================================================================================================================================================================================= diff --git a/manimlib/config.py b/manimlib/config.py index e22d2ea3..a2e68c51 100644 --- a/manimlib/config.py +++ b/manimlib/config.py @@ -23,7 +23,7 @@ def parse_cli(): module_location.add_argument( "file", nargs="?", - help="path to file holding the python code for the scene", + help="Path to file holding the python code for the scene", ) parser.add_argument( "scene_names", @@ -68,7 +68,7 @@ def parse_cli(): parser.add_argument( "-p", "--presenter_mode", action="store_true", - help="scene will stay paused during wait calls until " + help="Scene will stay paused during wait calls until " "space bar or right arrow is hit, like a slide show" ) parser.add_argument(