Skip to content

Commit 140b6a9

Browse files
committed
MNT: fix typo in warning
1 parent 50c397a commit 140b6a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7245,7 +7245,7 @@ def stairs(self, values, edges=None, *,
72457245
_api.warn_external(
72467246
f"Both {baseline=} and {fill=} have been passed. "
72477247
"baseline=None is only intended for unfilled stair plots. "
7248-
"Because baseline in None, the Path used to draw the stairs will "
7248+
"Because baseline is None, the Path used to draw the stairs will "
72497249
"not be closed, thus because fill is True the polygon will be closed "
72507250
"by drawing an (unstroked) edge from the first to last point. It is "
72517251
"very likely that the resulting fill patterns is not the desired "

0 commit comments

Comments
 (0)