Skip to content

Commit 162e25b

Browse files
committed
MNT: change to immutable default value
1 parent 47dded2 commit 162e25b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/cbook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1669,7 +1669,7 @@ class Grouper(object):
16691669
False
16701670
16711671
"""
1672-
def __init__(self, init=[]):
1672+
def __init__(self, init=()):
16731673
mapping = self._mapping = {}
16741674
for x in init:
16751675
mapping[ref(x)] = [ref(x)]

0 commit comments

Comments
 (0)