import google
from matplotlib import pyplot
code="1uzhQYfrOMsY0C-svvEGDZpF8tHVpo0be9NIpY1p_p-E"
sub=google.google()
ws=sub.worksh(code,0)
sub2=google.google()
import google
code="11OCF4oMDFye98UmiCQLQtYdb0_zhnze1dNLypMLtgdo"
sub=google.google()
ws=sub.worksh(code,0)
sub2=google.google()
sub2.catchdata(code,ws)
v=sub2.v
x=sub2.x
y=sub2.y
a=[]
m1=[]
d1=[]
p=[]
for i in range(len(v)-1):
if x[i+1]==4:a.append(v[i+1])
if x[i+1]==2:m1.append(v[i+1])
if x[i+1]==3:d1.append(v[i+1])
if x[i+1]==6:p.append(v[i+1])
x1=[]
y1=[]
for i in range(len(a)):
if a[i]=="乃木坂46":y1.append(int(p[i]))
if a[i]=="乃木坂46":x1.append(m1[i]+"m"+d1[i])
pyplot.plot(x1, y1)
pyplot.show()
最終更新:2018年02月09日 08:51