Bar graph in android with python using Pydroid3 app and matplotlib library| Vid no 2| @binarycup

Опубликовано: 26 Март 2026
на канале: BINARY CUP
139
9

Source code

------------------------------------------------------------------------
import matplotlib.pyplot as p

a=[2,4,6,8,10]
b=[8,16,24,32,40]
c=["r","b","g","m","c","y"]

p.title("Binary cup bar graph")
p.bar(a,b,color=c,width=[0.5,1.0,2.0,1.5,0.5])
p.xlabel("Some values")
p.ylabel("Double values")
p.savefig("/storage/emulated/0/bar_graph.pdf")
p.savefig("/storage/emulated/0/bar_graph.png")
p.show()

------------------------------------------------------------------------


This is course on Graphs using matplotib library in python and in this we course we are coding on android app Pydroid3, so if have don't have a Laptop don't worry, we will teach you how to code on android with no charges, free of cost.

On our channel Music Player and Notepad course are going on, absolutely free of cost and we are coding in android, so join the course right now, first time on youtube you will get these two courses which are being done in android using Pydroid3 app.

Pydroid3 app link : https://play.google.com/store/apps/de...
------------------------------------------------------------------------
#programming #coding #programmer
#codeonandroid #pydroid3
#python3 #pythononandroid #coding
#tkinter #pygame #musicplayer #music
#python #developer #technology #code #coder #computerscience #software #technology #codinglife #softwaredeveloper #programmers #programminglife #pythonprogramming #computer #softwareengineer
#shivamstudio6662 #binarycup
#mohitkhatak #shivam @binarycup

------------------------------------------------------------------------
Coder : Mohit Khatak
Stay connected with us
Contact : +918950097115
Whatsapp: +918950097115
Mail : [email protected]
Website : https://shivam6662.w3spaces.com
Another website : http://shivam6662.epizy.com
© SHIVA+M STUDIO, BINARY CUP