我有一个pcap文件,我想在Python中将其可视化为条形图。在
我创建了一个条形图,但我无法得到任何信息。在
import matplotlib.pyplot as plt
import plotly.plotly as py
dictionary = plt.figure()
D = {u'Label0':26, u'Label1': 17, u'Label2':30}
plt.bar(range(len(D)), D.values(), align='center')
plt.xticks(range(len(D)), D.keys())
plot_url = py.plot_mpl(dictionary, filename='mpl-dictionary')
有什么线索吗?在
目前没有回答
相关问题 更多 >
编程相关推荐