numpy.array(..., copy=False) -> numpy.asarray(...)
For numpy 2.0
This commit is contained in:
parent
8fd6896a71
commit
ad0adec8e8
6 changed files with 13 additions and 13 deletions
|
|
@ -34,7 +34,7 @@ class Path(Shape):
|
|||
and an offset.
|
||||
|
||||
Note that the setter for `Path.vertices` may (but may not) create a copy of the
|
||||
passed vertex coordinates. See `numpy.array(..., copy=False)` for details.
|
||||
passed vertex coordinates. See `numpy.asarray()` for details.
|
||||
|
||||
A normalized_form(...) is available, but can be quite slow with lots of vertices.
|
||||
"""
|
||||
|
|
@ -119,7 +119,7 @@ class Path(Shape):
|
|||
Vertices of the path (Nx2 ndarray: `[[x0, y0], [x1, y1], ...]`
|
||||
|
||||
When setting, note that a copy of the provided vertices may or may not be made,
|
||||
following the rules from `numpy.array(.., copy=False)`.
|
||||
following the rules from `numpy.asarray()`.
|
||||
"""
|
||||
return self._vertices
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue