Skip to content

Commit

Permalink
Update episodes/05-creating-histograms.md
Browse files Browse the repository at this point in the history
  • Loading branch information
uschille authored Mar 12, 2024
1 parent 3fad0eb commit f474fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion episodes/05-creating-histograms.md
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,6 @@ ax.set_ylabel("pixel count")
- In many cases, we can load images in grayscale by passing the `mode="L"` argument to the `iio.imread()` function.
- We can create histograms of images with the `np.histogram` function.
- We can separate the RGB channels of an image using slicing operations.
- We can display histograms using the `matplotlib pyplot` `subplots()`, `set_title()`, `set_xlabel()`, `set_ylabel()`, `set_xlim()`, `plot()`, and `show()` functions.
- We can display histograms using `ax.plot()` with the `bin_edges` and `histogram` values returned by `np.histogram()`.

::::::::::::::::::::::::::::::::::::::::::::::::::

0 comments on commit f474fc5

Please sign in to comment.