Skip to content

Commit

Permalink
Update python.rst to have min, max
Browse files Browse the repository at this point in the history
The OME-NGFF validator complains about window not having the min and max properties in the current version of this script.
  • Loading branch information
seankmartin authored Sep 19, 2023
1 parent d72a7b0 commit 1da15eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/python.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ The following code creates a 3D Image in OME-Zarr with labels::
root.attrs["omero"] = {
"channels": [{
"color": "00FFFF",
"window": {"start": 0, "end": 20},
"window": {"start": 0, "end": 20, "min": 0, "max": 255},
"label": "random",
"active": True,
}]
Expand Down

0 comments on commit 1da15eb

Please sign in to comment.