auto_chunks(chunks, shape, limit, dtype, previous_chunks=None)
This takes in a chunks value that contains "auto"
values in certain dimensions and replaces those values with concrete dimension sizes that try to get chunks to be of a certain size in bytes, provided by the limit=
keyword. If multiple dimensions are marked as "auto"
then they will all respond to meet the desired byte limit, trying to respect the aspect ratio of their dimensions in previous_chunks=
, if given.
A tuple of either dimensions or tuples of explicit chunk dimensions Some entries should be "auto"
The maximum allowable size of a chunk in bytes
Determine automatic chunks
normalize_chunks
for full docstring and parameters
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