Matplotlib

Python matploatlib
Hey internet mates, today we are going to make a python program to plot a bar chart of given data.
import matplotlib.pyplot as pl
a=["ROVIO","MARVEL","TENCENT","IMANGI"]
b=[200,95,70,182]
pl.bar(a,b,color=["r","b","g","y"])
pl.xlabel("APP NAME")
pl.ylabel("APP GAIN")
pl.show()

Leave a Comment

Your email address will not be published. Required fields are marked *