crop(ar, crop_width, copy=False, order='K')
Input array.
Number of values to remove from the edges of each axis. ((before_1, after_1),
... (before_N, after_N))
specifies unique crop widths at the start and end of each axis. ((before, after),)
specifies a fixed start and end crop for every axis. (n,)
or n
for integer n
is a shortcut for before = after = n
for all axes.
If :None:None:`True`
, ensure the returned array is a contiguous copy. Normally, a crop operation will return a discontiguous view of the underlying input array.
If copy==True
, control the memory layout of the copy. See np.copy
.
The cropped array. If copy=False
(default), this is a sliced view of the input array.
Crop array :None:None:`ar`
by :None:None:`crop_width`
along each dimension.
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them