Skip to content

Commit b88b571

Browse files
behacklpre-commit-ci[bot]
authored andcommitted
Prepare v0.18.0 (ManimCommunity#3439)
* generated changelog and bumped version * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * changed some PR descriptions in the changelog * fix some docbuild warnings * fixed a reference that became ambiguous * copyedit pass of changelog * some more changelog polishing * bump release date * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * updated release date --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 874bf53 commit b88b571

File tree

7 files changed

+303
-6
lines changed

7 files changed

+303
-6
lines changed

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ authors:
44
-
55
name: "The Manim Community Developers"
66
cff-version: "1.2.0"
7-
date-released: 2023-04-06
7+
date-released: 2023-11-11
88
license: MIT
99
message: "We acknowledge the importance of good software to support research, and we note that research becomes more valuable when it is communicated effectively. To demonstrate the value of Manim, we ask that you cite Manim in your work."
1010
title: Manim – Mathematical Animation Framework
1111
url: "https://www.manim.community/"
12-
version: "v0.17.3"
12+
version: "v0.18.0"
1313
...

docs/source/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Changelog
55

66
.. toctree::
77

8+
changelog/0.18.0-changelog
89
changelog/0.17.3-changelog
910
changelog/0.17.2-changelog
1011
changelog/0.17.1-changelog
Lines changed: 294 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,294 @@
1+
*******
2+
v0.18.0
3+
*******
4+
5+
:Date: November 11, 2023
6+
7+
Contributors
8+
============
9+
10+
A total of 41 people contributed to this
11+
release. People with a '+' by their names authored a patch for the first
12+
time.
13+
14+
* Abulafia +
15+
* Adhyyan Sekhsaria +
16+
* Adrien Ludwig +
17+
* Alex Kempen +
18+
* Andres Berejnoi +
19+
* Anousheh Moonen +
20+
* Benjamin Hackl
21+
* Francisco Manríquez Novoa
22+
* Harald Schilly +
23+
* Immanuel-Alvaro-Bhirawa +
24+
* Jason Grace +
25+
* Jason Villanueva
26+
* Jinchu Li
27+
* John Lynch +
28+
* Jérome Eertmans
29+
* Matt Turner +
30+
* Narahari Rao +
31+
* Naveen M K
32+
* Nikhil Iyer +
33+
* Ron Li +
34+
* Sujal Singh +
35+
* Tristan Schulz
36+
* Uwe Zimmermann +
37+
* Václav Blažej +
38+
* Zachary Winkeler +
39+
40+
41+
The patches included in this release have been reviewed by
42+
the following contributors.
43+
44+
* Alex Lembcke
45+
* Andres Berejnoi
46+
* Axel
47+
* Benjamin Hackl
48+
* Francisco Manríquez Novoa
49+
* Immanuel-Alvaro-Bhirawa
50+
* Jan-Hendrik Müller
51+
* Jason Grace
52+
* Jason Villanueva
53+
* Jinchu Li
54+
* John Lynch
55+
* Jérome Eertmans
56+
* Kevin Lubick
57+
* Narahari Rao
58+
* Naveen M K
59+
* NotWearingPants
60+
* SsNiPeR1
61+
* TheMathematicFanatic
62+
* Tristan Schulz
63+
* Uwe Zimmermann
64+
* Viicos
65+
* icedcoffeeee
66+
67+
Pull requests merged
68+
====================
69+
70+
A total of 59 pull requests were merged for this release.
71+
72+
Breaking changes
73+
----------------
74+
75+
* :pr:`3020`: Rewrote Manim's color system
76+
This change removed the ``colour`` library as a dependency
77+
of Manim and replaced the internal handling of colors with
78+
the newly added :class:`.ManimColor`. This also adds hundreds
79+
of new predefined colors, see :mod:`.utils.color` for more
80+
details.
81+
This should only be a breaking change if you have interacted
82+
directly with the ``colour`` module before. The general interface
83+
has been kept stable.
84+
85+
86+
Highlights
87+
----------
88+
89+
* :pr:`3299`: Added new ``manim checkhealth`` CLI subcommand
90+
This adds a new command line interface subcommand which can be used to check
91+
whether a local installation of Manim has been configured correctly, and all
92+
required (and optional) dependencies are available. To try it, run it via
93+
``manim checkhealth`` or ``python -m manim checkhealth``.
94+
95+
* :pr:`3427`: New feature: rendered examples in documentation can now be run directly via binder
96+
This adds a "Make interactive" button below the examples in our documentation
97+
that establishes a connection to binder such that examples can be modified and
98+
rerendered directly from your browser.
99+
100+
* :pr:`3086`: Introduced a new module :mod:`.typing` for type hints
101+
This also adds various type hints to integral parts of the code base.
102+
103+
* :pr:`3322`: Implemented auto-removal of auxiliary LaTeX files, enabled by default
104+
This automatically removes auxiliary files creating during the compilation of
105+
LaTeX documents like ``.aux`` or ``.dvi`` files. This behavior can be controlled
106+
via the newly introduced ``no_latex_cleanup`` config key (``False`` by default).
107+
On the command line, the autoremoval can be disabled via the ``--no_latex_cleanup``
108+
CLI flag.
109+
110+
* :pr:`3395`: Added support for Python 3.12
111+
112+
New features
113+
------------
114+
115+
* :pr:`3361`: Added three new rate functions
116+
This adds the rate functions :func:`.smoothstep`, :func:`.smootherstep`,
117+
:func:`.smoothererstep` based on the SmoothStep sigmoid functions.
118+
119+
* :pr:`3264`: Added new mobjects :class:`.LabeledLine` and :class:`.LabeledArrow`
120+
121+
122+
Enhancements
123+
------------
124+
125+
* :pr:`3190`: Made :class:`.CurvesAsSubmobjects` mobjects compatible with :meth:`.input_to_graph_point`
126+
127+
128+
* :pr:`3226`: Avoid using a mobject as a default argument of :class:`.ArcBrace`
129+
130+
131+
* :pr:`3366`: Added spacing between values and unit in :class:`.DecimalNumber`
132+
This adds the new keyword argument ``unit_buff_per_font_unit`` (default: 0, for
133+
backwards compatibility). Setting it to some positive number creates additional
134+
space between the numeric value and the displayed unit.
135+
136+
Fixed bugs
137+
----------
138+
139+
* :pr:`3205`: Fixed type hint of ``angle`` in :class:`.Arc`
140+
141+
142+
* :pr:`3210`: Fixed :class:`.DecimalNumber` with ``show_ellipsis=True`` with the OpenGL renderer
143+
144+
145+
* :pr:`3211`: Fixed display issues with custom labels for :class:`.Axes` with the OpenGL renderer
146+
147+
148+
* :pr:`3298`: Fixed expand animation for :class:`.ManimBanner`
149+
150+
151+
* :pr:`3306`: Fixed IPython terminal history and embedded shell instantiation for scenes using :meth:`.Scene.interactive_embed`
152+
153+
154+
* :pr:`3315`: Fixed issue with parameter types in :meth:`.Scene.add_subcaption`
155+
156+
157+
* :pr:`3423`: Fixed incorrect submobject count of multi-part :class:`.Tex` mobjects
158+
This resolves various issues where formulas were not displayed completely,
159+
like it was the case with ``MathTex("1", "^{", "0")``.
160+
161+
* :pr:`3284`: Fixed ``LinearTransformationSceneExample`` in Jupyter notebooks
162+
163+
164+
* :pr:`3302`: Fixed typo in comparison in :meth:`.OpenGLVMobject.interpolate`
165+
166+
167+
* :pr:`3340`: Fixed incorrect computation of bounding box for rotated :class:`.ImageMobject`
168+
169+
170+
* :pr:`3343`: Fixed return value of :meth:`.TexTemplate.add_to_preamble` and :meth:`.TexTemplate.add_to_document`
171+
172+
173+
* :pr:`3282`: Ensure that :meth:`.ArrowVectorField.get_vector` does not modify the passed inputs
174+
175+
176+
* :pr:`3392`: Fixed behavior of elongated tick lines for :class:`.NumberLine`
177+
178+
179+
* :pr:`3430`: Fixed CSV reader adding empty lists in rendering summary during documentation build
180+
181+
182+
* :pr:`3404`: Properly raise an exception on empty inputs to :class:`.AddTextLetterByLetter`
183+
184+
185+
Documentation-related changes
186+
-----------------------------
187+
188+
* :pr:`3219`: Enabled social cards for links to documentation
189+
190+
191+
* :pr:`3274`: Replaced incorrect mentions of Python 3.7 as the minimally required version
192+
193+
194+
* :pr:`3297`: Improved arrow tip sowcase example for :class:`.ArrowTip`
195+
196+
197+
* :pr:`3312`: Added documentation for :func:`.always_redraw`
198+
199+
200+
* :pr:`3218`: Improved grammar in the :doc:`deep dive guide </guides/deep_dive>`
201+
202+
203+
* :pr:`3251`: Add LaTeX installation instructions for Fedora
204+
205+
206+
* :pr:`3290`: Updated required dependencies for MacOS installations
207+
208+
209+
* :pr:`3325`: Added documentation for functions in :mod:`.mobject_update_utils`
210+
This adds docstrings and typehints to :func:`.always_rotate`,
211+
:func:`.always_shift`, :func:`.turn_animation_into_updater`
212+
213+
* :pr:`3353`: Added documentation for :meth:`.Mobject.center`
214+
215+
216+
* :pr:`3355`: Temporarily enabled ``htmlzip`` build on ReadTheDocs
217+
218+
219+
* :pr:`3377`: Fixed a typo in the :doc:`deep dive guide </guides/deep_dive>`
220+
221+
222+
* :pr:`3389`: Removed superfluous curly braces in a LaTeX expression
223+
224+
225+
* :pr:`3417`: Replaced ``htmlzip`` ReadTheDocs build with workflow attaching downloadable documentation to GitHub releases
226+
227+
228+
Changes concerning the testing system
229+
-------------------------------------
230+
231+
* :pr:`3416`: Fixed tests to run on Cairo 1.18.0
232+
233+
234+
* :pr:`3257`: Fix a configuration error concerning poetry
235+
236+
237+
* :pr:`3419`: Fixed caching of Cairo builds on CI runners
238+
239+
240+
Code quality improvements and similar refactors
241+
-----------------------------------------------
242+
243+
* :pr:`3229`: Made docbuild errors easier to debug and fixed error from changed exception class
244+
245+
246+
* :pr:`3231`: Fixed errors reported by ``flake8``
247+
248+
249+
* :pr:`3232`: Upgrade ReadTheDocs build environment to use newer image
250+
251+
252+
* :pr:`3286`: Optimized :meth:`.Axes.coords_to_point`
253+
254+
255+
* :pr:`3224`: Replace final few occurrences of ``os.path`` by ``pathlib.Path``
256+
257+
258+
* :pr:`3236`: Return self in :meth:`.AbstractImageMobject.set_resampling_algorithm`
259+
260+
261+
* :pr:`3253`: Bump tornado from 6.3.1 to 6.3.2
262+
263+
264+
* :pr:`3272`: Bump docker/build-push-action from 3 to 4
265+
266+
267+
* :pr:`3287`: Bump cryptography from 41.0.1 to 41.0.2
268+
269+
270+
* :pr:`3350`: Added missing dependency ``typing-extensions``
271+
272+
273+
* :pr:`3431`: Bump teatimeguest/setup-texlive-action from 2 to 3
274+
275+
276+
* :pr:`3433`: Bump dependencies
277+
278+
279+
* :pr:`3399`: Updated several dependencies
280+
281+
282+
* :pr:`3397`: Several GitHub actions updates
283+
284+
285+
* :pr:`3405`: Updated manimpango version to fix error regarding type strictness
286+
287+
288+
* :pr:`3421`: Improved order of input checks when creating a tree graph
289+
290+
291+
New releases
292+
------------
293+
294+
* :pr:`3439`: Prepared new release: v0.18.0

docs/source/changelog/0.9.0-changelog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Fixed bugs
176176
* :pr:`1782`: Fixed :class:`~.Tex` not working properly with the OpenGL renderer
177177

178178

179-
* :pr:`1783`: Fixed :meth:`~.OpenGLMobject.shuffle` function and added :meth:`~.invert` to OpenGL
179+
* :pr:`1783`: Fixed :meth:`~.OpenGLMobject.shuffle` function and added :meth:`~.Mobject.invert` to OpenGL
180180

181181

182182
* :pr:`1786`: Fixed :class:`~.DecimalNumber` not working properly when the number of digits changes

manim/mobject/graphing/coordinate_systems.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1929,6 +1929,8 @@ def _update_default_configs(
19291929
passed_configs
19301930
The dict that will be used to update.
19311931
1932+
Examples
1933+
--------
19321934
To create a tuple with one dictionary, add a comma after the element:
19331935
19341936
.. code-block:: python

manim/utils/tex_file_writing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,8 @@ def convert_to_svg(dvi_file: Path, extension: str, page: int = 1):
264264
def delete_nonsvg_files(additional_endings: Iterable[str] = ()) -> None:
265265
"""Deletes every file that does not have a suffix in ``(".svg", ".tex", *additional_endings)``
266266
267-
Parameters:
268-
-----------
267+
Parameters
268+
----------
269269
additional_endings
270270
Additional endings to whitelist
271271
"""

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "manim"
3-
version = "0.17.3"
3+
version = "0.18.0"
44
description = "Animation engine for explanatory math videos."
55
authors = ["The Manim Community Developers <contact@manim.community>", "3b1b <grant@3blue1brown.com>"]
66
license="MIT"

0 commit comments

Comments
 (0)