We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
[email protected]
I am unable to display images while using viz. show()
0.12.0
3.8
from causalnex.plots import plot_structure, NODE_STYLE, EDGE_STYLE viz = plot_structure( sm, all_node_attributes=NODE_STYLE.WEAK, all_edge_attributes=EDGE_STYLE.WEAK, ) viz.show("supporting_files/01_simple_plot.html")
supporting_files/01_simple_plot.html --------------------------------------------------------------------------- FileNotFoundError Traceback (most recent call last) Cell In[10], line 8 1 from causalnex.plots import plot_structure, NODE_STYLE, EDGE_STYLE 3 viz = plot_structure( 4 sm, 5 all_node_attributes=NODE_STYLE.WEAK, 6 all_edge_attributes=EDGE_STYLE.WEAK, 7 ) ----> 8 viz.show("supporting_files/01_simple_plot.html") File D:\CODE_env\Anaconda\anaconda3\envs\CSN\lib\site-packages\pyvis\network.py:546, in Network.show(self, name, local, notebook) 544 print(name) 545 if notebook: --> 546 self.write_html(name, open_browser=False,notebook=True) 547 else: 548 self.write_html(name, open_browser=True) File D:\CODE_env\Anaconda\anaconda3\envs\CSN\lib\site-packages\pyvis\network.py:529, in Network.write_html(self, name, local, notebook, open_browser) 527 out.write(self.html) 528 elif self.cdn_resources == "in_line" or self.cdn_resources == "remote": --> 529 with open(getcwd_name, "w+") as out: 530 out.write(self.html) 531 else: FileNotFoundError: [Errno 2] No such file or directory: 'supporting_files/01_simple_plot.html'
The text was updated successfully, but these errors were encountered:
change supporting_files/01_simple_plot.html to template.html is ok
Sorry, something went wrong.
No branches or pull requests
Contact Details
[email protected]
Short description of the problem here.
I am unable to display images while using viz. show()
CausalNex Version
0.12.0
Python Version
3.8
Relevant code snippet
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: