spelling fix and wrong import
This commit is contained in:
		
							parent
							
								
									a3f81bb835
								
							
						
					
					
						commit
						a304b388b7
					
				| @ -14,7 +14,7 @@ from .error import PatternError, PatternLockedError | |||||||
| from .utils import is_scalar, rotation_matrix_2d, vector2, AutoSlots | from .utils import is_scalar, rotation_matrix_2d, vector2, AutoSlots | ||||||
| from .repetition import Repetition | from .repetition import Repetition | ||||||
| from .traits import (PositionableImpl, DoseableImpl, RotatableImpl, ScalableImpl, | from .traits import (PositionableImpl, DoseableImpl, RotatableImpl, ScalableImpl, | ||||||
|                      Mirrorable, Pivotable, Copyable, LockableImpl, RepeatableImpl) |                      Mirrorable, PivotableImpl, Copyable, LockableImpl, RepeatableImpl) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| if TYPE_CHECKING: | if TYPE_CHECKING: | ||||||
| @ -152,7 +152,7 @@ class SubPattern(PositionableImpl, DoseableImpl, RotatableImpl, ScalableImpl, Mi | |||||||
|         self.mirrored[axis] = not self.mirrored[axis] |         self.mirrored[axis] = not self.mirrored[axis] | ||||||
|         self.rotation *= -1 |         self.rotation *= -1 | ||||||
|         if self.repetition is not None: |         if self.repetition is not None: | ||||||
|             self.repetiton.mirror(axis) |             self.repetition.mirror(axis) | ||||||
|         return self |         return self | ||||||
| 
 | 
 | ||||||
|     def get_bounds(self) -> Optional[numpy.ndarray]: |     def get_bounds(self) -> Optional[numpy.ndarray]: | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user