Skip to content

Commit

Permalink
Comment function to fix svg scale as this is no longer required in cu…
Browse files Browse the repository at this point in the history
…rrent graphviz version.

--------------
This function and logic is not removed for future reference.
  • Loading branch information
Aadesh-Baral authored and abaral8 committed Oct 8, 2024
1 parent 3028ada commit fa3c69f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions causing/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ def save_graph(path: Path, graph_dot):
svg_code = subprocess.check_output(
[DOT_COMMAND, "-Tsvg"], input=graph_dot, encoding="utf-8"
)
if dot_version()[0] < 3:
svg_code = fix_svg_scale(svg_code)
# if dot_version()[0] < 3:
# svg_code = fix_svg_scale(svg_code)
with open(path, "w") as f:
f.write(svg_code)

Expand Down

0 comments on commit fa3c69f

Please sign in to comment.