Improve docs, error messages, and type annotations

This commit is contained in:
Jan Petykiewicz 2020-09-26 17:33:46 -07:00
commit c6684936cf
5 changed files with 14 additions and 18 deletions

View file

@ -18,7 +18,7 @@ from .shapes import Shape, Polygon
from .label import Label
from .utils import rotation_matrix_2d, vector2, normalize_mirror, AutoSlots, annotations_t
from .error import PatternError, PatternLockedError
from .traits import LockableImpl, AnnotatableImpl
from .traits import LockableImpl, AnnotatableImpl, Scalable
visitor_function_t = Callable[['Pattern', Tuple['Pattern'], Dict, numpy.ndarray], 'Pattern']