parrt / lolviz

A simple Python data-structure visualization tool for lists of lists, lists, dictionaries; primarily for use in Jupyter notebooks / presentations
BSD 3-Clause "New" or "Revised" License
829 stars 47 forks source link

`view` without opening the pdf window #29

Closed jowe19 closed 1 year ago

jowe19 commented 1 year ago

Hi, I would like to save in a pdf the graphviz object g without opening a window showing the graph. I tried the following code, but the window still open.

from lolviz import *
data = ['hi','mom',{3,4},{"parrt":"user"}]
g = listviz(data)
g.view(cleanup=True,quiet=True)