Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Generate wordcloud of followers' descriptions
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pybites

This comment has been minimized.

Copy link

commented Aug 22, 2017

cool!

I had to add this switch to not run into twitter API's rate exceeded errors:

api = tweepy.API(auth, wait_on_rate_limit=True)

@pybites

This comment has been minimized.

Copy link

commented Aug 22, 2017

and I ended up using pil as matplotlib didn't work for me:

wordcloud.to_image()
image.show()

https://gist.github.com/pybites/e78118f606831d2b152dfeee9c527b76

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.