import numpy as np from color_code import subtractive_color_plot img = np.zeros((300, 500, 3), dtype=np.uint8) img[0:50, 0:500] = [0, 0, 0] img[50:100, 0:500] = [0, 0, 0] img[100:150, 0:500] = [0, 0, 0] img[150:200, 0:500] = [0, 0, 0] img[200:250, 0:500] = [0, 0, 0] img[250:300, 0:500] = [0, 0, 0] subtractive_color_plot(img)