{"action":"created","issue":{"url":"https://api.github.com/repos/amueller/word_cloud/issues/247","repository_url":"https://api.github.com/repos/amueller/word_cloud","labels_url":"https://api.github.com/repos/amueller/word_cloud/issues/247/labels{/name}","comments_url":"https://api.github.com/repos/amueller/word_cloud/issues/247/comments","events_url":"https://api.github.com/repos/amueller/word_cloud/issues/247/events","html_url":"https://github.com/amueller/word_cloud/issues/247","id":218180246,"number":247,"title":"Building word clouds our of LDA ","user":{"login":"Areejno","id":26793193,"avatar_url":"https://avatars2.githubusercontent.com/u/26793193?v=3","gravatar_id":"","url":"https://api.github.com/users/Areejno","html_url":"https://github.com/Areejno","followers_url":"https://api.github.com/users/Areejno/followers","following_url":"https://api.github.com/users/Areejno/following{/other_user}","gists_url":"https://api.github.com/users/Areejno/gists{/gist_id}","starred_url":"https://api.github.com/users/Areejno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Areejno/subscriptions","organizations_url":"https://api.github.com/users/Areejno/orgs","repos_url":"https://api.github.com/users/Areejno/repos","events_url":"https://api.github.com/users/Areejno/events{/privacy}","received_events_url":"https://api.github.com/users/Areejno/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-03-30T12:27:49Z","updated_at":"2017-04-06T10:29:31Z","closed_at":null,"body":"Hello\r\nThank you so much for this. I'm building the word clouds successfully out of text but I get an error when I try to use LDA output as follow:\r\nplt.imshow(WordCloud().fit_words(ldamodel.show_topics(t,3)))\r\n\r\n\r\nerror >>>\r\n______________________\r\nFile \"C:\\Users\\A\\AppData\\Local\\Continuum\\Anaconda3\\lib\\site-packages\\wordcloud-1.3.1-py3.6-win-amd64.egg\\wordcloud\\wordcloud.py\", line 331, in fit_words\r\n    return self.generate_from_frequencies(frequencies)\r\n\r\n  File \"C:\\Users\\A\\AppData\\Local\\Continuum\\Anaconda3\\lib\\site-packages\\wordcloud-1.3.1-py3.6-win-amd64.egg\\wordcloud\\wordcloud.py\", line 350, in generate_from_frequencies\r\n    frequencies = sorted(frequencies.items(), key=item1, reverse=True)\r\n\r\nAttributeError: 'list' object has no attribute 'items'\r\n______________________\r\n\r\nI'm using Python3.\r\nYour help is much appreciated. \r\nAreej."},"comment":{"url":"https://api.github.com/repos/amueller/word_cloud/issues/comments/292133415","html_url":"https://github.com/amueller/word_cloud/issues/247#issuecomment-292133415","issue_url":"https://api.github.com/repos/amueller/word_cloud/issues/247","id":292133415,"user":{"login":"Areejno","id":26793193,"avatar_url":"https://avatars2.githubusercontent.com/u/26793193?v=3","gravatar_id":"","url":"https://api.github.com/users/Areejno","html_url":"https://github.com/Areejno","followers_url":"https://api.github.com/users/Areejno/followers","following_url":"https://api.github.com/users/Areejno/following{/other_user}","gists_url":"https://api.github.com/users/Areejno/gists{/gist_id}","starred_url":"https://api.github.com/users/Areejno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Areejno/subscriptions","organizations_url":"https://api.github.com/users/Areejno/orgs","repos_url":"https://api.github.com/users/Areejno/repos","events_url":"https://api.github.com/users/Areejno/events{/privacy}","received_events_url":"https://api.github.com/users/Areejno/received_events","type":"User","site_admin":false},"created_at":"2017-04-06T10:29:31Z","updated_at":"2017-04-06T10:29:31Z","body":"You are right I was sending wrong format to the method, now its working. Thank you. "}}
{"actor":{"display_login":"Areejno"}}