Commit 74cfb8a4 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Graph.prune_vertices(): Set correct base for GraphView objects

parent 1dad4c00
Pipeline #209 failed with stage
in 4140 minutes
......@@ -2571,6 +2571,8 @@ class Graph(object):
self.properties[(pmaps[-1].key_type(), pname)] = pmaps[-1]
new_g = Graph(self, prune=(True, False, False))
if hasattr(self, "_GraphView__base"):
self._GraphView__base = new_g
self.__graph = new_g.__graph
self.set_vertex_filter(None)
......
Markdown is supported
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