Skip to content

Commit 99f5c71

Browse files
committed
Merge branch 'optimized_vmobject_points' of https://github.com/chopan050/manim into optimized_vmobject_points
2 parents 85418db + 5b9bae2 commit 99f5c71

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

.github/workflows/publish-docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
password: ${{ secrets.DOCKERHUB_TOKEN }}
2626

2727
- name: Build and push
28-
uses: docker/build-push-action@v3
28+
uses: docker/build-push-action@v4
2929
with:
3030
platforms: linux/arm64,linux/amd64
3131
push: true
@@ -61,7 +61,7 @@ jobs:
6161
print(f"tag_name={ref_tag}", file=f)
6262
6363
- name: Build and push
64-
uses: docker/build-push-action@v3
64+
uses: docker/build-push-action@v4
6565
with:
6666
platforms: linux/arm64,linux/amd64
6767
push: true

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ repos:
2424
name: isort (pyi)
2525
types: [pyi]
2626
- repo: https://github.com/asottile/pyupgrade
27-
rev: v3.3.1
27+
rev: v3.8.0
2828
hooks:
2929
- id: pyupgrade
3030
name: Update code to new python versions
@@ -39,7 +39,7 @@ repos:
3939
hooks:
4040
- id: black
4141
- repo: https://github.com/asottile/blacken-docs
42-
rev: 1.13.0
42+
rev: 1.14.0
4343
hooks:
4444
- id: blacken-docs
4545
additional_dependencies: [black==22.3.0]
@@ -58,7 +58,7 @@ repos:
5858
flake8-simplify==0.14.1,
5959
]
6060
- repo: https://github.com/pre-commit/mirrors-mypy
61-
rev: v1.2.0
61+
rev: v1.4.1
6262
hooks:
6363
- id: mypy
6464
additional_dependencies:
@@ -71,7 +71,7 @@ repos:
7171
]
7272

7373
- repo: https://github.com/codespell-project/codespell
74-
rev: v2.2.4
74+
rev: v2.2.5
7575
hooks:
7676
- id: codespell
7777
files: ^.*\.(py|md|rst)$

docs/source/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ in order for Manim to work properly, some additional system
5959
dependencies need to be installed first. The following pages have
6060
operating system specific instructions for you to follow.
6161

62-
Manim requires Python version ``3.7`` or above to run.
62+
Manim requires Python version ``3.8`` or above to run.
6363

6464
.. hint::
6565

docs/source/installation/linux.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The installation instructions depend on your particular operating
55
system and package manager. If you happen to know exactly what you are doing,
66
you can also simply ensure that your system has:
77

8-
- a reasonably recent version of Python 3 (3.7–3.10),
8+
- a reasonably recent version of Python 3 (3.8 or above),
99
- with working Cairo bindings in the form of
1010
`pycairo <https://cairographics.org/pycairo/>`__,
1111
- FFmpeg accessible from the command line as ``ffmpeg``,

docs/source/installation/windows.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package manager like `Chocolatey <https://chocolatey.org/>`__
66
or `Scoop <https://scoop.sh>`__. If you are not afraid of editing
77
your System's ``PATH``, a manual installation is also possible.
88
In fact, if you already have an existing Python
9-
installation (3.7-3.10), it might be the easiest way to get
9+
installation (3.8 or above), it might be the easiest way to get
1010
everything up and running.
1111

1212
If you choose to use one of the package managers, please follow
@@ -19,7 +19,7 @@ to make one of them available on your system.
1919
Required Dependencies
2020
---------------------
2121

22-
Manim requires a recent version of Python (3.7–3.10) and ``ffmpeg``
22+
Manim requires a recent version of Python (3.8 or above) and ``ffmpeg``
2323
in order to work.
2424

2525
Chocolatey
@@ -80,10 +80,10 @@ Manual Installation
8080
*******************
8181

8282
As mentioned above, Manim needs a reasonably recent version of
83-
Python 3 (3.7–3.10) and FFmpeg.
83+
Python 3 (3.8 or above) and FFmpeg.
8484

8585
**Python:** Head over to https://www.python.org, download an installer
86-
for Python (3.7–3.10), and follow its instructions to get Python
86+
for a recent version of Python, and follow its instructions to get Python
8787
installed on your system.
8888

8989
.. note::

manim/mobject/geometry/arc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,8 @@ def construct(self):
282282
def __init__(
283283
self,
284284
radius: float = 1.0,
285-
start_angle=0,
286-
angle=TAU / 4,
285+
start_angle: float = 0,
286+
angle: float = TAU / 4,
287287
num_components=9,
288288
arc_center=ORIGIN,
289289
**kwargs,

manim/mobject/mobject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def add_animation_override(
161161
The animation type to be overridden
162162
override_func
163163
The function returning an animation replacing the default animation. It gets
164-
passed the parameters given to the animnation constructor.
164+
passed the parameters given to the animation constructor.
165165
166166
Raises
167167
------

manim/mobject/vector_field.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ def get_vector(self, point: np.ndarray):
613613
The root point of the vector.
614614
615615
"""
616-
output = np.asarray(self.func(point))
616+
output = np.array(self.func(point))
617617
norm = np.linalg.norm(output)
618618
if norm != 0:
619619
output *= self.length_func(norm) / norm

0 commit comments

Comments
 (0)