Skip to content

Commit

Permalink
Polygon clipping requires mpl, but it is now a dependency. Remove war…
Browse files Browse the repository at this point in the history
…ning.
  • Loading branch information
stefanv committed Feb 2, 2016
1 parent 3218257 commit bf7e885
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions skimage/draw/draw.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@
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."""
Expand Down

0 comments on commit bf7e885

Please sign in to comment.