diff --git a/doc/examples/plot_polygon.py b/doc/examples/plot_polygon.py index c605f12a..821c4558 100644 --- a/doc/examples/plot_polygon.py +++ b/doc/examples/plot_polygon.py @@ -7,8 +7,11 @@ This example shows how to approximate (Douglas-Peucker algorithm) and subdivide (B-Splines) polygonal chains. """ +from __future__ import print_function + import numpy as np import matplotlib.pyplot as plt + from skimage.draw import ellipse from skimage.measure import find_contours, approximate_polygon, \ subdivide_polygon