From c4b40ed138c4b895ce433e68f719f628e823e293 Mon Sep 17 00:00:00 2001 From: Tristan Schulz Date: Mon, 26 Dec 2022 10:07:58 +0100 Subject: [PATCH] Prepared new Hotfix Release: `v0.17.2` (#3090) * bump version number * generated changelog for v0.17.2 * either "a NumPy array" or "an np array", based on how "n" is pronounced * minor language improvements * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: Benjamin Hackl Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- CITATION.cff | 4 +- docs/source/changelog.rst | 1 + docs/source/changelog/0.17.2-changelog.rst | 61 ++++++++++++++++++++++ manim/mobject/graphing/number_line.py | 2 +- pyproject.toml | 2 +- 5 files changed, 66 insertions(+), 4 deletions(-) create mode 100644 docs/source/changelog/0.17.2-changelog.rst diff --git a/CITATION.cff b/CITATION.cff index 2955290b6a..d449bb13f5 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -4,10 +4,10 @@ authors: - name: "The Manim Community Developers" cff-version: "1.2.0" -date-released: 2022-12-08 +date-released: 2022-12-26 license: MIT 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." title: Manim – Mathematical Animation Framework url: "https://www.manim.community/" -version: "v0.17.1" +version: "v0.17.2" ... diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index 97f58135b2..c98396caef 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -5,6 +5,7 @@ Changelog .. toctree:: + changelog/0.17.2-changelog changelog/0.17.1-changelog changelog/0.17.0-changelog changelog/0.16.0-changelog diff --git a/docs/source/changelog/0.17.2-changelog.rst b/docs/source/changelog/0.17.2-changelog.rst new file mode 100644 index 0000000000..633f6cb46e --- /dev/null +++ b/docs/source/changelog/0.17.2-changelog.rst @@ -0,0 +1,61 @@ +******* +v0.17.2 +******* + +:Date: December 26, 2022 + +Contributors +============ + +A total of 5 people contributed to this +release. People with a '+' by their names authored a patch for the first +time. + +* CaftBotti + +* Tristan Schulz +* lgtm-com[bot] + + + +The patches included in this release have been reviewed by +the following contributors. + +* Benjamin Hackl +* Naveen M K +* Tristan Schulz + +Pull requests merged +==================== + +A total of 7 pull requests were merged for this release. + +Fixed bugs +---------- + +* :pr:`3089`: Fixed OpenGL mobjects like :class:`.Surface` by reordering init calls + + +Documentation-related changes +----------------------------- + +* :pr:`3073`: Fixed typo: "Whetherer" to "Whether" + + +* :pr:`3074`: Fixed typo in a comment + + +Code quality improvements and similar refactors +----------------------------------------------- + +* :pr:`3024`: Add CodeQL workflow for GitHub code scanning + + +* :pr:`3079`: Updated CI syntax for runner version >= 2.298.2 + + +* :pr:`3084`: Properly setup CodeQL + + +New releases +------------ + +* :pr:`3090`: Prepared new Hotfix Release: ``v0.17.2`` diff --git a/manim/mobject/graphing/number_line.py b/manim/mobject/graphing/number_line.py index bae4c89940..db7a1afd89 100644 --- a/manim/mobject/graphing/number_line.py +++ b/manim/mobject/graphing/number_line.py @@ -173,7 +173,7 @@ def __init__( "num_decimal_places": self._decimal_places_from_step(x_range[2]), } - # turn into a np array to scale by just applying the function + # turn into a NumPy array to scale by just applying the function self.x_range = np.array(x_range, dtype=float) self.x_min, self.x_max, self.x_step = scaling.function(self.x_range) self.length = length diff --git a/pyproject.toml b/pyproject.toml index c327c8f061..d8e4491d87 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "manim" -version = "0.17.1" +version = "0.17.2" description = "Animation engine for explanatory math videos." authors = ["The Manim Community Developers ", "3b1b "] license="MIT"