mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-27 19:48:43 +08:00
Add missing import
This commit is contained in:
committed by
Stefan van der Walt
parent
5280cacb82
commit
5e906fb4ec
@@ -7,6 +7,7 @@ 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')
|
||||
|
||||
Reference in New Issue
Block a user