-
-
Notifications
You must be signed in to change notification settings - Fork 363
Closed
Labels
documentationImprovements to the documentationImprovements to the documentationhelp wantedIssue could use help from someone with familiarity on the topicIssue could use help from someone with familiarity on the topic
Description
Describe the issue linked to the documentation
Examples do not match the signature:
zarr-python/src/zarr/core/array.py
Lines 4033 to 4048 in e0751ab
Examples | |
-------- | |
>>> import zarr | |
>>> z = zarr.zeros(shape=(10000, 10000), | |
>>> chunk_shape=(1000, 1000), | |
>>> dtype="i4",) | |
>>> z.shape | |
(10000, 10000) | |
>>> z = z.resize(20000, 1000) | |
>>> z.shape | |
(20000, 1000) | |
>>> z2 = z.resize(50, 50) | |
>>> z.shape | |
(20000, 1000) | |
>>> z2.shape | |
(50, 50) |
Suggested fix for documentation
Pass shape arguments as tuples.
Metadata
Metadata
Assignees
Labels
documentationImprovements to the documentationImprovements to the documentationhelp wantedIssue could use help from someone with familiarity on the topicIssue could use help from someone with familiarity on the topic