From 1da15eb911d104554c7c3d871d27065b4257075f Mon Sep 17 00:00:00 2001 From: Sean Martin Date: Tue, 19 Sep 2023 12:23:59 +0100 Subject: [PATCH] Update python.rst to have min, max The OME-NGFF validator complains about window not having the min and max properties in the current version of this script. --- docs/source/python.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/python.rst b/docs/source/python.rst index f6bbdc26..e4a399d5 100644 --- a/docs/source/python.rst +++ b/docs/source/python.rst @@ -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, }]