Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def plot_reduced_data(reduced_data, labels, title):
|
|
33 |
arrowprops=dict(arrowstyle="->", color='green', lw=3))
|
34 |
|
35 |
# Data for the arrow 2
|
36 |
-
end_point = (
|
37 |
start_point = (reduced_data[2, 0], reduced_data[2, 1]) # Ending point of the arrow
|
38 |
|
39 |
# Adding an arrow 2
|
|
|
33 |
arrowprops=dict(arrowstyle="->", color='green', lw=3))
|
34 |
|
35 |
# Data for the arrow 2
|
36 |
+
end_point = (reduced_data[-1, 0] , reduced_data[-1, 1]) # Starting point of the arrow
|
37 |
start_point = (reduced_data[2, 0], reduced_data[2, 1]) # Ending point of the arrow
|
38 |
|
39 |
# Adding an arrow 2
|