@@ -715,12 +715,12 @@ def cells(self, data=False):
715715 else :
716716 yield cell , self .cell_attributes (cell )
717717
718- def vertices_where (self , conditions , data = False , ** kwargs ):
718+ def vertices_where (self , conditions = None , data = False , ** kwargs ):
719719 """Get vertices for which a certain condition or set of conditions is true.
720720
721721 Parameters
722722 ----------
723- conditions : dict
723+ conditions : dict, optional
724724 A set of conditions in the form of key-value pairs.
725725 The keys should be attribute names. The values can be attribute
726726 values or ranges of attribute values in the form of min/max pairs.
@@ -816,12 +816,12 @@ def vertices_where_predicate(self, predicate, data=False):
816816 else :
817817 yield key
818818
819- def edges_where (self , conditions , data = False , ** kwargs ):
819+ def edges_where (self , conditions = None , data = False , ** kwargs ):
820820 """Get edges for which a certain condition or set of conditions is true.
821821
822822 Parameters
823823 ----------
824- conditions : dict
824+ conditions : dict, optional
825825 A set of conditions in the form of key-value pairs.
826826 The keys should be attribute names. The values can be attribute
827827 values or ranges of attribute values in the form of min/max pairs.
@@ -901,12 +901,12 @@ def edges_where_predicate(self, predicate, data=False):
901901 else :
902902 yield key
903903
904- def faces_where (self , conditions , data = False , ** kwargs ):
904+ def faces_where (self , conditions = None , data = False , ** kwargs ):
905905 """Get faces for which a certain condition or set of conditions is true.
906906
907907 Parameters
908908 ----------
909- conditions : dict
909+ conditions : dict, optional
910910 A set of conditions in the form of key-value pairs.
911911 The keys should be attribute names. The values can be attribute
912912 values or ranges of attribute values in the form of min/max pairs.
@@ -986,12 +986,12 @@ def faces_where_predicate(self, predicate, data=False):
986986 else :
987987 yield fkey
988988
989- def cells_where (self , conditions , data = False , ** kwargs ):
989+ def cells_where (self , conditions = None , data = False , ** kwargs ):
990990 """Get cells for which a certain condition or set of conditions is true.
991991
992992 Parameters
993993 ----------
994- conditions : dict
994+ conditions : dict, optional
995995 A set of conditions in the form of key-value pairs.
996996 The keys should be attribute names. The values can be attribute
997997 values or ranges of attribute values in the form of min/max pairs.
0 commit comments