Skip to content

Commit fa3c69f

Browse files
Aadesh-Baralabaral8
authored andcommitted
Comment function to fix svg scale as this is no longer required in current graphviz version.
-------------- This function and logic is not removed for future reference.
1 parent 3028ada commit fa3c69f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

causing/graph.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ def save_graph(path: Path, graph_dot):
6969
svg_code = subprocess.check_output(
7070
[DOT_COMMAND, "-Tsvg"], input=graph_dot, encoding="utf-8"
7171
)
72-
if dot_version()[0] < 3:
73-
svg_code = fix_svg_scale(svg_code)
72+
# if dot_version()[0] < 3:
73+
# svg_code = fix_svg_scale(svg_code)
7474
with open(path, "w") as f:
7575
f.write(svg_code)
7676

0 commit comments

Comments
 (0)