79186565

Date: 2024-11-13 20:35:52
Score: 1
Natty:
Report link
import numpy as np
import matplotlib.pyplot as plt
cyan = np.array([(x*0, x*1, x*1, 255) for x in range(256)])
input_array = np.arange(0, 0.8, 0.05).reshape(4, 4)
input_array = (input_array * 256).astype(int)
colour_array = cyan[input_array]
plt.imshow(colour_array)
plt.show()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hrishabh Kumar Singh