Skip to content

Commit 9572909

Browse files
committed
As per nltk#2788, set show=False as default
1 parent e7c97d4 commit 9572909

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nltk/probability.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def max(self):
245245
return self.most_common(1)[0][0]
246246

247247
def plot(
248-
self, *args, title="", cumulative=False, percents=False, show=True, **kwargs
248+
self, *args, title="", cumulative=False, percents=False, show=False, **kwargs
249249
):
250250
"""
251251
Plot samples from the frequency distribution
@@ -1927,7 +1927,7 @@ def plot(
19271927
cumulative=False,
19281928
percents=False,
19291929
conditions=None,
1930-
show=True,
1930+
show=False,
19311931
**kwargs,
19321932
):
19331933
"""

0 commit comments

Comments
 (0)