Skip to content

Commit 761086b

Browse files
committed
Get back to old visualizer
1 parent 638a294 commit 761086b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

bids_prov/visualize.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ def viz_turtle(content=None, img_file=None, source=None, **kwargs) -> None:
2828
# TODO : show attributes has optional arg
2929
dot = prov_to_dot(prov_doc, use_labels=True,
3030
show_element_attributes=False, show_relation_attributes=False)
31-
# dot.write_png(img_file)
32-
with open(img_file, 'wb') as file:
33-
file.write(dot.create_svg())
31+
dot.write_png(img_file)
3432

3533

3634
def viz_jsonld11(jsonld11: dict, img_file: str) -> None:

0 commit comments

Comments
 (0)