You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using diagrams in a Jupyter notebook to create software documentation (UML, Cloud Architecture and stuff like that) following the guide.
I'm in the need to deliver this documentation in a non-programmer friendly format, like PDF, so I'm using nbconvert to convert the output of the notebook to PDF, but, the graphviz's warnings get on the way.
I need to get rid of these warnings, I've tried using warnings.filterwarnings("ignore"), but this didn't work because graphviz's warnings are not generated by the code in the notebook.
I also tried to use the graph.dot.render() method to pass the quiet param, but this only generates the output file and don't render the diagram inside of the notebook, so it doesn't get exported to the PDF. (https://graphviz.readthedocs.io/en/stable/api.html)
Is there any way to render the diagram inside of the jupyter notebook but without the warnings?
Thanks.
The text was updated successfully, but these errors were encountered:
Hello.
I'm using
diagrams
in a Jupyter notebook to create software documentation (UML, Cloud Architecture and stuff like that) following the guide.I'm in the need to deliver this documentation in a non-programmer friendly format, like PDF, so I'm using
nbconvert
to convert the output of the notebook to PDF, but, the graphviz's warnings get on the way.I need to get rid of these warnings, I've tried using
warnings.filterwarnings("ignore")
, but this didn't work because graphviz's warnings are not generated by the code in the notebook.I also tried to use the
graph.dot.render()
method to pass thequiet
param, but this only generates the output file and don't render the diagram inside of the notebook, so it doesn't get exported to the PDF. (https://graphviz.readthedocs.io/en/stable/api.html)Is there any way to render the diagram inside of the jupyter notebook but without the warnings?
Thanks.
The text was updated successfully, but these errors were encountered: