Skip to content

Commit 3a9dbf0

Browse files
committed
Remove unwanted paragraph on matplotlib import
1 parent 6a507c7 commit 3a9dbf0

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

_episodes/05-creating-histograms.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,7 @@ plt.imshow(image, cmap="gray")
6666

6767
![Plant seedling](../fig/plant-seedling-grayscale.png)
6868

69-
In the program, we have a new import from `matplotlib`,
70-
to gain access to the tools we will use to draw the histogram.
71-
The statement
72-
73-
`from matplotlib import pyplot as plt`
74-
75-
loads up the `pyplot` library, and gives it a shorter name, `plt`.
76-
77-
Next, we use the `iio.imread()` function to load our image.
69+
Again, we use the `iio.imread()` function to load our image.
7870
The first argument to `iio.imread()` is the filename of the image.
7971
The second argument `mode="L"` defines the type and depth of a pixel in the
8072
image (e.g., an 8-bit pixel has a range of 0-255). This argument is forwarded

0 commit comments

Comments
 (0)