[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
|
|
@ -212,10 +212,10 @@ class Path(Shape):
|
|||
self.width = width
|
||||
self.cap = cap
|
||||
self.cap_extensions = cap_extensions
|
||||
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) -> 'Path':
|
||||
memo = {} if memo is None else memo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue