Skip to content

Commit 37d5123

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 9e97310 commit 37d5123

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

machine_learning/t_stochastic_neighbour_embedding.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ def main() -> None:
101101
import matplotlib.pyplot as plt
102102

103103
plt.figure(figsize=(7, 5))
104-
scatter = plt.scatter(embedding[:, 0], embedding[:, 1], c=labels, cmap="viridis")
104+
scatter = plt.scatter(
105+
embedding[:, 0], embedding[:, 1], c=labels, cmap="viridis"
106+
)
105107
plt.title("t-SNE Visualization of the Iris Dataset")
106108
plt.xlabel("Dimension 1")
107109
plt.ylabel("Dimension 2")

0 commit comments

Comments
 (0)