- Matplotlib 3.0 Cookbook
- Srinivasa Rao Poladi
- 46字
- 2025-04-04 16:06:37
How it works...
- The plt.imread() method reads the image into an array of pixels.
- The plt.imshow() method displays the image on the screen.
- image.shape gives the dimensions of the list into which the image was read.
- print() displays the dimensions of the image on the screen.