Closed xamm closed 2 years ago
Thanks. I am afraid this is as documented: Submodules of graphviz
are not part of the public API (cf. https://graphviz.readthedocs.io/en/stable/api.html). Please stick to the documented interface and use graphviz.FORMATS
, see https://graphviz.readthedocs.io/en/stable/api.html#graphviz.FORMATS).
Just saw that the API now mentions graphviz.backend.DOT_BINARY
, let me fix that.
Fixed unintended API reference to backend
in 04f5abd287b1d19767c82a0de5626d14f8ab889b, closing.
Environment Details
Error Description
When calling
graphviz.backend.FORMATS
anAttributeError
is thrown. Expected would be a list of available Formats as was the case in previous versions.e.g.
Steps to reproduce