为什么我写出来的小师妹教的那个爬虫程序绘制部分跑不起来啊?
本帖最后由 丿章鱼哥 于 2020-6-24 01:13 编辑代码完全按照小师妹写的来的,但是绘图那个一运行就报错,报错长到无法想象{:10_247:}
import plotly.express as px
import pandas as pd
df = pd.read_csv('./Tiobe.csv')
fig = px.bar(df,
y = "Programming",
x = "DataPer",
animation_frame = "Date",
range_x = ,
orientation = 'h',
text = 'DataPer',
color = "Programming")
fig.update_layout(width = 666,
height = 666,
xaxis_showgrid = False,
yaxis_showgrid = False,
showlegend = False)
fig.update_xaxes(title_test = "Tiobe趋势图")
fig.show() 我找到错误了(*^▽^) 丿章鱼哥 发表于 2020-6-24 01:13
我找到错误了(*^▽^)
我也是错一样的,请问怎么改
页:
[1]