We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d76c78 commit 1f7da9dCopy full SHA for 1f7da9d
graphics/bezier_curve.py
@@ -2,7 +2,7 @@
2
# https://www.tutorialspoint.com/computer_graphics/computer_graphics_curves.htm
3
from __future__ import annotations
4
5
-from scipy.special import comb
+from scipy.special import comb # type: ignore
6
7
8
class BezierCurve:
@@ -78,7 +78,7 @@ def plot_curve(self, step_size: float = 0.01):
78
step_size: defines the step(s) at which to evaluate the Bezier curve.
79
The smaller the step size, the finer the curve produced.
80
"""
81
- from matplotlib import pyplot as plt
+ from matplotlib import pyplot as plt # type: ignore
82
83
to_plot_x: list[float] = [] # x coordinates of points to plot
84
to_plot_y: list[float] = [] # y coordinates of points to plot
0 commit comments