Skip to content

Commit bd47af9

Browse files
committed
markdown source builds
Auto-generated via {sandpaper} Source : 893e6e6 Branch : main Author : Toby Hodges <tobyhodges@carpentries.org> Time : 2023-09-18 09:03:41 +0000 Message : Merge pull request #301 from chennesy/patch-1 Update 05-creating-histograms.md
1 parent 29f7529 commit bd47af9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

05-creating-histograms.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,9 @@ it to the `np.histogram` function.
201201
# read the image as grayscale from the outset
202202
plant_seedling = iio.imread(uri="data/plant-seedling.jpg", mode="L")
203203

204+
# convert the image to float dtype with a value range from 0 to 1
205+
plant_seedling = ski.util.img_as_float(plant_seedling)
206+
204207
# display the image
205208
fig, ax = plt.subplots()
206209
plt.imshow(plant_seedling, cmap="gray")

md5sum.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"episodes/02-image-basics.md" "96ffcef0c69114438aee896d82b1525c" "site/built/02-image-basics.md" "2023-09-09"
88
"episodes/03-skimage-images.md" "ff87470aab8bb05c7d8038dabe7ed0f9" "site/built/03-skimage-images.md" "2023-09-05"
99
"episodes/04-drawing.md" "9d78a765f5e9747ffc2aa43a4a5a414d" "site/built/04-drawing.md" "2023-09-05"
10-
"episodes/05-creating-histograms.md" "4b3573854902de7c66f6a2b1e3feae4b" "site/built/05-creating-histograms.md" "2023-09-05"
10+
"episodes/05-creating-histograms.md" "bdcf983127c242eb995605038598d09f" "site/built/05-creating-histograms.md" "2023-09-18"
1111
"episodes/06-blurring.md" "008ba23277efaed038691178e99c135b" "site/built/06-blurring.md" "2023-09-05"
1212
"episodes/07-thresholding.md" "7ae5260f90e1df8e20a6226cce8ec6b6" "site/built/07-thresholding.md" "2023-09-05"
1313
"episodes/08-connected-components.md" "59d42797208c5bf569da2fa2e4dd05df" "site/built/08-connected-components.md" "2023-09-09"

0 commit comments

Comments
 (0)