Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions burr/core/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,7 @@ def _render_graphviz(
graphviz_obj.render(path_without_suffix, format=fmt, view=view)
else:
# `.pipe()` doesn't append the format to the filename, so we do it explicitly
pathlib.Path(f"{path_without_suffix}.{fmt}").write_bytes(
graphviz_obj.pipe(format=fmt)
)
pathlib.Path(f"{path_without_suffix}.{fmt}").write_bytes(graphviz_obj.pipe(format=fmt))


@dataclasses.dataclass
Expand Down
Loading
Loading