Skip to content

Commit 3cd1b29

Browse files
authored
Default of drop_islands should be None, not True
1 parent 679696c commit 3cd1b29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libpysal/weights/weights.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def from_adjlist(
275275
def to_adjlist(
276276
self,
277277
remove_symmetric=False,
278-
drop_islands=True,
278+
drop_islands=None,
279279
focal_col="focal",
280280
neighbor_col="neighbor",
281281
weight_col="weight",

0 commit comments

Comments
 (0)