Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 29, 2023
1 parent 0b6ca7c commit 1c5072a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions manim/mobject/types/vectorized_mobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
]


from bisect import bisect_left
import itertools as it
import sys
from bisect import bisect_left
from typing import (
TYPE_CHECKING,
Callable,
Expand Down Expand Up @@ -1005,7 +1005,7 @@ def change_anchor_mode(self, mode: Literal["jagged", "smooth"]) -> Self:
h1, h2 = get_smooth_handle_points(anchors)
submob.points[start + 1 : end : nppcc] = h1
submob.points[start + 2 : end : nppcc] = h2

return self

def make_smooth(self) -> Self:
Expand Down Expand Up @@ -1724,7 +1724,7 @@ def get_anchors(self) -> Point3D_Array:
"""
if self.points.shape[0] == 1:
return self.points

num_curves = self.get_num_curves()
anchors = np.empty((2 * num_curves, self.dim))
# Every end anchor ends a Bézier curve, but not every start anchor
Expand Down

0 comments on commit 1c5072a

Please sign in to comment.