[Path / PolyCollection / Polygon] fix order of rotation/offset
This commit is contained in:
parent
aca49dc7e3
commit
34a43a707c
3 changed files with 6 additions and 7 deletions
|
|
@ -112,10 +112,10 @@ class PolyCollection(Shape):
|
|||
self._vertex_offsets = numpy.asarray(vertex_offsets, dtype=numpy.intp)
|
||||
self.repetition = repetition
|
||||
self.annotations = annotations
|
||||
if numpy.any(offset):
|
||||
self.translate(offset)
|
||||
if rotation:
|
||||
self.rotate(rotation)
|
||||
if numpy.any(offset):
|
||||
self.translate(offset)
|
||||
|
||||
def __deepcopy__(self, memo: dict | None = None) -> Self:
|
||||
memo = {} if memo is None else memo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue