Improve docs, error messages, and type annotations
This commit is contained in:
parent
84f811e9d1
commit
c6684936cf
5 changed files with 14 additions and 18 deletions
|
|
@ -246,7 +246,7 @@ class Shape(PositionableImpl, LayerableImpl, DoseableImpl, Rotatable, Mirrorable
|
|||
List of `Polygon` objects with grid-aligned edges.
|
||||
"""
|
||||
from . import Polygon
|
||||
import skimage.measure
|
||||
import skimage.measure # type: ignore
|
||||
import float_raster
|
||||
|
||||
grid_x = numpy.unique(grid_x)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue