Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wm.plot() produces empty plot in jupyter notebook and when saving it as html produces a black screen in the browser. #6

Open
kuldeep7688 opened this issue Sep 14, 2018 · 4 comments

Comments

@kuldeep7688
Copy link

kuldeep7688 commented Sep 14, 2018

In the examples.ipynb (the jobs speech part ) code executes successfully but when I plot it in notebook a complete white plot and when saving it as html produces a black screen in the browser.
The code executes successfully because I am able to print the similarity matrix and the key words and their pos_tags.

Any help will be really helpful.
The key words are there in the html source I have checked manually. I dont know what can be the problem.
I am sharing the text format of the html file.
my_wordmesh.txt

@kuldeep7688
Copy link
Author

Can you please help ?

@mukund109
Copy link
Owner

mukund109 commented Sep 18, 2018

Hi,

Could you please share your package versions and info about the machine you're using?

Also, this is the first time I'm coming across this error. If plotly isn't working and you need a quick workaround, you can try using a different plotting library. You can access the coordinates and bounding box size of each word, and then use these to render the words on an image using a different library ('Pillow' might be a good choice)

@kuldeep7688
Copy link
Author

kuldeep7688 commented Sep 18, 2018 via email

@mukund109
Copy link
Owner

mukund109 commented Sep 18, 2018

I cannot access the link. Could you post an image?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants