mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-27 15:01:08 +00:00
mypy-fix for bezier_curve.py (#4220)
This commit is contained in:
parent
a4726ca248
commit
7df393f123
|
@ -2,7 +2,7 @@
|
|||
# https://www.tutorialspoint.com/computer_graphics/computer_graphics_curves.htm
|
||||
from __future__ import annotations
|
||||
|
||||
from scipy.special import comb
|
||||
from scipy.special import comb # type: ignore
|
||||
|
||||
|
||||
class BezierCurve:
|
||||
|
@ -78,7 +78,7 @@ class BezierCurve:
|
|||
step_size: defines the step(s) at which to evaluate the Bezier curve.
|
||||
The smaller the step size, the finer the curve produced.
|
||||
"""
|
||||
from matplotlib import pyplot as plt
|
||||
from matplotlib import pyplot as plt # type: ignore
|
||||
|
||||
to_plot_x: list[float] = [] # x coordinates of points to plot
|
||||
to_plot_y: list[float] = [] # y coordinates of points to plot
|
||||
|
|
Loading…
Reference in New Issue
Block a user