We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae3db56 commit 37cf45bCopy full SHA for 37cf45b
cyecca/graph.py
@@ -8,6 +8,7 @@
8
9
try:
10
import pydot
11
+
12
PYDOT_AVAILABLE = True
13
except ImportError:
14
PYDOT_AVAILABLE = False
@@ -19,7 +20,7 @@ def draw_casadi(
19
20
) -> pydot.Graph:
21
"""
22
Draw a CasADi expression graph.
-
23
24
Requires pydot to be installed: pip install pydot
25
or install cyecca with visualization extras: pip install cyecca[visualization]
26
@@ -29,7 +30,7 @@ def draw_casadi(
29
30
"Install it with: pip install pydot "
31
"or: pip install cyecca[visualization]"
32
)
33
34
curdir = Path(os.path.abspath(os.getcwd()))
35
# dot draw creates a source.dot file, lets move to the tmp directory
36
os.chdir(tempfile.gettempdir())
0 commit comments