Note
Go to the end to download the full example code.
3.3.11.1. Creating an image¶
How to create an image with basic NumPy commands : np.zeros
, slicing…
This examples show how to create a simple checkerboard.

Total running time of the script: (0 minutes 0.048 seconds)