Skip to content

Commit f78936e

Browse files
authored
Merge pull request #322 from mkcor/patch-2
Prefix functions used for customising plots.
2 parents ff9e06a + 15936d4 commit f78936e

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,7 +450,7 @@ 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 display histograms using `ax.plot()` with the `bin_edges` and `histogram` values returned by `np.histogram()`.
453-
- The plot can be customised using `set_xlabel()`, `set_ylabel()`, `set_xlim()`, `set_ylim()`, and `set_title()`.
453+
- The plot can be customised using `ax.set_xlabel()`, `ax.set_ylabel()`, `ax.set_xlim()`, `ax.set_ylim()`, and `ax.set_title()`.
454454
- We can separate the colour channels of an RGB image using slicing operations and create histograms for each colour channel separately.
455455

456456
::::::::::::::::::::::::::::::::::::::::::::::::::

0 commit comments

Comments
 (0)