Python MatPlotLib Bar Chart, Histogram Tutorial 3

Publié le: 24 juillet 2016
sur la chaîne: MyStudy
4,016
25

This Video Will Explain about creating Bart chart and histogram chart MatplotLib function.

Bar Chart :
X = [1,2,3,4,5,6]
Y = [10,3,-5,6,7,1]
plt.bar(X,Y)
plt.show()

Histogram :
import numpy as np
age = 40 + np.floor(60*np.random.rand(100))
age_bins = [40,50,60,70,80,80,100]
plt.hist(age, age_bins)
plt.show()


Sur cette page du site, vous pouvez voir la vidéo en ligne Python MatPlotLib Bar Chart, Histogram Tutorial 3 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur MyStudy 24 juillet 2016, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 4,016 fois et il a aimé 25 téléspectateurs. Bon visionnage!