Closed DeepSpace2 closed 7 years ago
Hi. thanks for the PR. i'll take a look when I get a chance. as the formatting has changed, it's harder to tell what's new.
Hi. thanks for the PR. i'll take a look when I get a chance. as the formatting has changed, it's harder to tell what's new.
The new functionality is achieved by simply adding a format
kwarg (with default argument None
so backward compatibility is maintained) to the 4 "viz
" functions, which get passed to graphviz.Source
.
Actually it looks like you can just do g.format = 'png'
on the object it comes back before you render it so I don't think we need this PR.
Also some PEP-8ing.