8000 DOC Removing warnings from plot_logistic_multinomial examples (#29120) · scikit-learn-bot/scikit-learn@a6e1d2f · GitHub
[go: up one dir, main page]

Skip to content

Commit a6e1d2f

Browse files
authored
DOC Removing warnings from plot_logistic_multinomial examples (scikit-learn#29120)
1 parent 78102fd commit a6e1d2f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/linear_model/plot_logistic_multinomial.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@
4646
colors = "bry"
4747
for i, color in zip(clf.classes_, colors):
4848
idx = np.where(y == i)
49-
plt.scatter(
50-
X[idx, 0], X[idx, 1], c=color, cmap=plt.cm.Paired, edgecolor="black", s=20
51-
)
49+
plt.scatter(X[idx, 0], X[idx, 1], c=color, edgecolor="black", s=20)
5250

5351
# Plot the three one-against-all classifiers
5452
xmin, xmax = plt.xlim()

0 commit comments

Comments
 (0)
0