Commit af03753b authored by Kelvinrr's avatar Kelvinrr
Browse files

fixed awkward comment

parent 03cce61e
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -719,7 +719,8 @@ class CandidateGraph(nx.Graph):

    def filter_nodes(self, func, *args, **kwargs):
        """
        Filters graph with function and returns a sub-graph from matches
        Filters graph and returns a sub-graph from matches. Mimics
        python's filter() function

        Parameters
        ----------
@@ -736,7 +737,9 @@ class CandidateGraph(nx.Graph):

    def filter_edges(self, func, *args, **kwargs):
        """
        Filters graph with function and returns a sub-graph from matches
        Filters graph and returns a sub-graph from matches. Mimics
        python's filter() function

        Parameters
        ----------
        func : function which returns bool used to filter out edges