Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9e5ab0b

Browse files
committed
Exclude the 'clear' argument
1 parent 146dcfa commit 9e5ab0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/pyplot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -993,10 +993,10 @@ def figure(
993993
if num is None:
994994
num = next_num
995995
else:
996-
if any([figsize, dpi, facecolor, edgecolor, not frameon, clear,
996+
if any([figsize, dpi, facecolor, edgecolor, not frameon,
997997
kwargs]) and num in allnums:
998998
_api.warn_external(
999-
"Ignoring specified arguments in this call"
999+
"Ignoring specified arguments in this call "
10001000
f"because figure with num: {num} already exists")
10011001
if isinstance(num, str):
10021002
fig_label = num

0 commit comments

Comments
 (0)