From 3f6d1ed352fc9f033403dc79058abd5e19c4ebfe Mon Sep 17 00:00:00 2001 From: Marianne Corvellec Date: Mon, 26 Aug 2024 10:48:06 +0200 Subject: [PATCH] Hard code less --- tutorial/01_images_are_arrays.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorial/01_images_are_arrays.md b/tutorial/01_images_are_arrays.md index 90c9545..e02418b 100644 --- a/tutorial/01_images_are_arrays.md +++ b/tutorial/01_images_are_arrays.md @@ -139,7 +139,7 @@ cat_float = ski.util.img_as_float(cat) print(cat_float.dtype, cat_float.min(), cat_float.max()) print() -print("231/255 =", 231/255.) +print("cat.max()/255 =", cat.max()/255) ``` More at https://scikit-image.org/docs/stable/user_guide/data_types.html.