be more consistent about when copies are made
This commit is contained in:
parent
ad0adec8e8
commit
ef6c5df386
14 changed files with 28 additions and 34 deletions
|
|
@ -472,7 +472,7 @@ class Arc(Shape):
|
|||
a1 += sign * 2 * pi
|
||||
|
||||
a.append((a0, a1))
|
||||
return numpy.array(a)
|
||||
return numpy.array(a, dtype=float)
|
||||
|
||||
def __repr__(self) -> str:
|
||||
angles = f' a°{numpy.rad2deg(self.angles)}'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue