Skip to content

Commit f474fc5

Browse files
authored
Update episodes/05-creating-histograms.md
1 parent 3fad0eb commit f474fc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

episodes/05-creating-histograms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,6 @@ ax.set_ylabel("pixel count")
450450
- In many cases, we can load images in grayscale by passing the `mode="L"` argument to the `iio.imread()` function.
451451
- We can create histograms of images with the `np.histogram` function.
452452
- We can separate the RGB channels of an image using slicing operations.
453-
- We can display histograms using the `matplotlib pyplot` `subplots()`, `set_title()`, `set_xlabel()`, `set_ylabel()`, `set_xlim()`, `plot()`, and `show()` functions.
453+
- We can display histograms using `ax.plot()` with the `bin_edges` and `histogram` values returned by `np.histogram()`.
454454

455455
::::::::::::::::::::::::::::::::::::::::::::::::::

0 commit comments

Comments
 (0)