From bf7e885064e545496a55ccbbdc9f56eebb7ac0a4 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Mon, 10 Nov 2014 12:35:04 +0200 Subject: [PATCH] Polygon clipping requires mpl, but it is now a dependency. Remove warning. --- skimage/draw/draw.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/skimage/draw/draw.py b/skimage/draw/draw.py index 85b076af..cd0b1d9b 100644 --- a/skimage/draw/draw.py +++ b/skimage/draw/draw.py @@ -6,12 +6,6 @@ from ._draw import _coords_inside_image from .._shared._geometry import polygon_clip from ._draw import line -from skimage._shared.version_requirements import is_installed -from warnings import warn -matplotlib_installed = is_installed('matplotlib') -if not matplotlib_installed: - warn('Polygon perimeter drawing requires matplotlib') - def _ellipse_in_shape(shape, center, radiuses): """Generate coordinates of points within ellipse bounded by shape."""