import matplotlib.pyplot as plot def show_data(r,g,b,a,img): fig = plot.figure() ax = fig.add_subplot(321) ax.imshow(r, cmap='Greys_r') ax2 = fig.add_subplot(322) ax2.imshow(g) a3 = fig.add_subplot(323) a3.imshow(b) a4 = fig.add_subplot(324) a4.imshow(a) a4 = f