Skip to content
Snippets Groups Projects
Commit 9332344e authored by Alexandre Gramfort's avatar Alexandre Gramfort
Browse files

FIX : fix in subplot index in plot_iris.py

parent 96e8ffb6
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ pl.set_cmap(pl.cm.Paired)
for i, clf in enumerate((svc, rbf_svc, nu_svc, lin_svc)):
# Plot the decision boundary. For that, we will asign a color to each
# point in the mesh [x_min, m_max]x[y_min, y_max].
pl.subplot(2, 2, i)
pl.subplot(2, 2, i+1)
Z = clf.predict(np.c_[xx.ravel(), yy.ravel()])
# Put the result into a color plot
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment