Bar Plot Matplotlib

  Umum
y = ["Meninggal","Hidup"]
yy = numpy.arange(len(y))
xx = [mati,sembuh]
plt.bar(yy,xx)
plt.xticks(yy,y)
plt.show()

LEAVE A COMMENT