Commit bc1ada4b authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Merge branch 'bugfix/planar-layout-pos' into 'master'

Ensure supplied position map for planar_layout is owned by view

See merge request !32
parents eabd9979 0b9ddea9
......@@ -209,6 +209,8 @@ def planar_layout(g, pos=None):
embed = is_planar(u, embedding=True)[1]
if pos is None:
pos = u.new_vp("vector<double>")
pos = u.own_property(pos)
_prop("v", u, embed),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment