pydot v1.2.0 Release Notes
Release Date: 2016-07-01 // almost 8 years ago-
- ๐ support Python 3
- โฌ๏ธ bumped dependency to
pyparsing >= 2.1.4
- โ tests running on Travis CI
- โ
tests require
chardet
- โ
detect character encoding for most test files
using the package
chardet
API:
on all operating systems, search GraphViz executables in environment
$PATH
, usingsubprocess.Popen
. No paths hard-coded due to security and privacy issues.โ add option to pass GraphViz executable name or absolute path as
prog
topydot.Dot.write_*
methods. This provides an alternative to adding GraphViz to the$PATH
.the functions:
pydot.graph_from_dot_data
pydot.graph_from_dot_file
dot_parser.parse_dot_data
changed to always return alist
of graphs, instead of behaving differently for singletons.
require that the user explicitly give an encoding to the function
pydot.graph_from_dot_file
, with default encoding same asio.open
.decode to unicode at program boundaries, and treat binary images as bytes, for more compatibility with python 3. Use
io.open
, instead of the built-inopen
.rm function
pydot.set_graphviz_executables
rm attribute
pydot.Dot.progs