pas = PlotARCArrays()
image_filename = pas.to_image('/tmp/ARC', [[1,1,1],[1,1,1],[1,1,1]], [[2,2,2],[2,2,2],[2,2,2]], [[2.6,3,3],[3,3,3],[3,3,3]], 'train', '00000001')
print(image_filename)/tmp/ARC/00000001-a86e2e2e-6fc6-4ef2-9aec-04edbc75fac9.png

PlotARCArrays ()
Initialize self. See help(type(self)) for accurate signature.
/tmp/ARC/00000001-a86e2e2e-6fc6-4ef2-9aec-04edbc75fac9.png


dataset = 'train'
w=3
fig, axs = plt.subplots(1, w, figsize=(3*w ,3))
code = '001'
plt.suptitle(f'{dataset} {code}', fontsize=20, fontweight='bold', y=1)
pas = PlotARCArrays()
input_matrix = [[3,3,3],[3,3,3],[3,3,3]]
pas.plot_array(axs[0], input_matrix, 'input')
input_matrix = [[3,3,3],[3,3,3],[3,3,3]]
pas.plot_array(axs[1], input_matrix, 'output')
input_matrix = [[3,3,3],[3,3,3],[3,3,3]]
pas.plot_array(axs[2], input_matrix, 'env')