g.new_vertex_properrty("string") not working (array is of type None)
The bug is easily produced by the commands below.
>>> g = Graph() >>> prop = g.new_vertex_property("string") >>> print prop <PropertyMap object with key type 'Vertex' and value type 'string', for Graph 0x3090690, at 0x32d6650> >>> print prop.a None
I am using the ubuntu package graph-tool_2.2.18-1 new_vertex_property() works fine for "int", "float", "double", etc. -- but not for "string".
As another minor comment about documentation, the page http://projects.skewed.de/graph-tool/doc/draw.html says that the "accepted types" for "shape" are "str or int". Shouldn't this be "string or int"? (It's confusing to abbreviate it as "str" when a different web page says that the correct name is "string".)
Thanks very much for this excellent software package. I hope the bug report is useful.