-
Notifications
You must be signed in to change notification settings - Fork 32
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
Comments
Can you please help ? |
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) |
Hey I resolved that error it was because of jupyter lab not supporting
JavaScript code run by plotly.
However the graphs now I am getting are really out of proportion. I am
attaching you a sample below. Take a look and let me know which parameters
to tweak to get it done nicely.
word-mesh_html.html
<https://drive.google.com/file/d/0B9xAR2xVb-vbTEF3Y3o3SVgxQk5lTEJKM2VyTEZJNjFGUjUw/view?usp=drivesdk>
…On Tue, Sep 18, 2018, 7:54 AM mukund109 ***@***.***> wrote:
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 plot the words using a different library
(one that can render text on an image e.g. Pillow)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJ7teZcxgiAcYxX3aOWuIM1lq2VQU1Tbks5ucFlNgaJpZM4WpEGj>
.
|
I cannot access the link. Could you post an image? |
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
The text was updated successfully, but these errors were encountered: