Title: use python to get a bar chart of wireshark information
Tags: python;pcap;plotly
Question: I have a pcap file which I want to visualize in Python as a bar chart.
I create a bar chart but I can't get any info on it.
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')
Any clues?



{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 0, 'CommentCount': 0, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2016:00:01/27/16', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<python><pcap><plotly>', 'Title': 'use python to get a bar chart of wireshark information', 'ViewCount': 206, 'id': 35027399, 'user_AboutMe': None, 'user_AccountId': 7025110.0, 'user_DisplayName': 'Ljungberg', 'user_Reputation': 7.0, 'user_Views': 5.0, 'user_id': 5382822.0}}