Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a6e1d2f

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

File tree

Expand file treeCollapse file tree

1 file changed

+1
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-3
lines changed

‎examples/linear_model/plot_logistic_multinomial.py

Copy file name to clipboardExpand all lines: examples/linear_model/plot_logistic_multinomial.py
+1-3Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.