import matplotlib.pyplot as mlt import numpy as nmpi xpoints=nmpi.array(['apple','doll','cat','duck']) ypoints=nmpi.array([23,45,64,30]) mlt.bar(xpoints,ypoints) mlt.show()