diff --git a/doc/examples/plot_ransac.py b/doc/examples/plot_ransac.py index 26fd78c0..2de76619 100644 --- a/doc/examples/plot_ransac.py +++ b/doc/examples/plot_ransac.py @@ -21,7 +21,7 @@ y = 0.2 * x + 20 data = np.column_stack([x, y]) # add faulty data -faulty = np.array(30 * [(180, -100)]) +faulty = np.array(30 * [(180., -100)]) faulty += 5 * np.random.normal(size=faulty.shape) data[:faulty.shape[0]] = faulty