diff --git a/plasnet/community_graph.py b/plasnet/community_graph.py index e9e8037..01d00e9 100644 --- a/plasnet/community_graph.py +++ b/plasnet/community_graph.py @@ -122,4 +122,4 @@ def filter_by_distance(self, distance_threshold: float) -> None: def recolour_nodes(self, other_community: "CommunityGraph") -> None: for node in self.nodes: - self._node_to_colour[node] = other_community._node_to_colour[node] + self._node_to_colour[node] = other_community._get_node_color(node)