Creating a histogram in python : I have below dataframe. I want to create a simple histogram by sorting number of tweets numbers. 

    **Source**        **Number of Tweets**
    Twitter for Android	59472
    Twitter for iPhone	27244
    Twitter Web Client	9239
    Twitter Lite	6479
    Twitter for iPad	1159
    TweetCaster for Android	407
    Twitter for Windows Phone	233
    TweetDeck	219
    Mobile Web (M2)	197
    Twitter for Windows	134
    Commun.it	121
    Facebook	18
    Media Studio	16
    MeTweets for Windows Phone	14

Here is the code; 

    my_plot = data.sort(columns='Number of Tweets',ascending=False).plot(kind='bar',legend=None,title="Tweet Numbers Per Source")
    my_plot.set_xlabel("Source")
    my_plot.set_ylabel("Tweet Numbers")

but I get below warning; 

    /home/bd/anaconda3/lib/python3.5/site-packages/ipykernel/__main__.py:1: FutureWarning: sort(columns=....) is deprecated, use sort_values(by=.....)
    if __name__ == '__main__':

Also; when I code; 

    my_plot.show()

I get below error message.

    AttributeError: 'AxesSubplot' object has no attribute 'show'

How can I fix this ? Any suggestions? Thank you.. 

