From 941c18a79e140a045878a384de3fea78d0fe4f17 Mon Sep 17 00:00:00 2001
From: Fabian Pedregosa <fabian.pedregosa@inria.fr>
Date: Thu, 20 Jan 2011 14:22:05 +0100
Subject: [PATCH] Turn off axis in plot_iris.

Looks better in the doc.
---
 examples/svm/plot_iris.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/examples/svm/plot_iris.py b/examples/svm/plot_iris.py
index c250eed62c..1a7e65ed36 100644
--- a/examples/svm/plot_iris.py
+++ b/examples/svm/plot_iris.py
@@ -53,12 +53,11 @@ for i, clf in enumerate((svc, rbf_svc, nu_svc, lin_svc)):
     Z = Z.reshape(xx.shape)
     pl.set_cmap(pl.cm.Paired)
     pl.contourf(xx, yy, Z)
-    pl.axis('tight')
+    pl.axis('off')
 
     # Plot also the training points
     pl.scatter(X[:,0], X[:,1], c=Y)
 
     pl.title(titles[i])
 
-pl.axis('tight')
 pl.show()
-- 
GitLab