Closed bowrango closed 4 years ago
Hi! Can you share a minimal example of your code and a little more about your environment?
Sure thing! I'm generating the out.html file from within my Pycharm IDE running Python 3.7. I'm on my local machine running Windows 10.
I run this to create the interactive html file, and can confirm its created:
Chord(matrix, labels).to_html
I then run the html file, and a tiny pop-up appears with several icons of web browsers. I select Chrome. A new Chrome tab opens, but no graph:
Hello - can you try the attached Python file demo.py
and let me know what the output looks like? It should output the attached out.html
file.
You can also use the Chrome developer tools (https://developers.google.com/web/tools/chrome-devtools/open) and see if there's an error in the console. You could also pass over the .py
file and the out.html
and I'll take a look!
I can't seem the view the demo.py
file, is it located somewhere in the repo?
Here is the error I received when it loaded the Google Chrome tab, with the zipped file below:
Hello @bowrango, the demo.py
was just a copy and paste from the first example in the GitHub README, it looks like it didn't attach! I downloaded your example HTML file. It points you to line 97 where you can see:
matrix = [[0 0 0 ... 0 0 0]
[0 0 0 ... 0 0 0]
[0 0 0 ... 0 0 0]
...
[0 0 0 ... 0 0 0]
[0 0 0 ... 0 0 0]
[0 0 0 ... 0 0 0]];
which isn't a proper assignment! It looks like this is an issue in your Python script somewhere. Head over to our Discord https://discord.gg/azcASEb wher we can help out with getting things going :) In the meantime I'll close this issue because it doesn't look like a bug with chord
for now, will re-open otherwise!
A new Google Chrome tab opens up on my localhost when I run the html file, but there is no graph or anything.