Skip to content

Commit 3b24dfe

Browse files
committed
Fix plot_preds return type
The plot_preds function plots the data but doesn't actually return anything
1 parent d0aa4b4 commit 3b24dfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: machine_learning/local_weighted_learning/local_weighted_learning.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def plot_preds(
155155
y_data: np.ndarray,
156156
x_name: str,
157157
y_name: str,
158-
) -> plt.plot:
158+
) -> None:
159159
"""
160160
Plot predictions and display the graph
161161
>>> pass # No doctests, function is for demo purposes only

0 commit comments

Comments
 (0)