matplotlib show image without axis code example Example: plot image without axes python plt.axis('off')