This works:
pydot.Dot(rankdir="LR", overlap="False", graph_type='digraph',
simplify=True)
This works not:
pydot.Dot(rankdir="LR", overlap=False, graph_type='digraph',
simplify=True)
File "file.py", line 374, in function
dot.write_svg(directory+'/region_graph_%s.svg'%name, prog='neato')
File "/var/lib/python-support/python2.5/pydot.py", line 1602, in <lambda>
lambda path, f=frmt, prog=self.prog : self.write(path, format=f,
prog=prog))
File "/var/lib/python-support/python2.5/pydot.py", line 1696, in write
dot_fd.write(self.create(prog, format))
File "/var/lib/python-support/python2.5/pydot.py", line 1740, in create
self.write(tmp_name)
File "/var/lib/python-support/python2.5/pydot.py", line 1694, in write
dot_fd.write(self.to_string())
File "/var/lib/python-support/python2.5/pydot.py", line 1472, in
to_string
return ''.join(graph)
TypeError: sequence item 5: expected string, bool found
Why not allowing the natural data types?
Original issue reported on code.google.com by willi.ri...@gmail.com on 17 Feb 2009 at 9:09
Original issue reported on code.google.com by
willi.ri...@gmail.com
on 17 Feb 2009 at 9:09