Skip to content

Commit 573b54d

Browse files
committed
fix(comment): #28701 remove default value @timhoffm #28702 (comment)
1 parent 50552b5 commit 573b54d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/matplotlib/collections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1257,7 +1257,7 @@ def set_verts_and_codes(self, verts, codes):
12571257

12581258
class FillBetweenPolyCollection(PolyCollection):
12591259
def __init__(
1260-
self, t_direction, t, f1, f2=0, *,
1260+
self, t_direction, t, f1, f2, *,
12611261
where=None, interpolate=False, step=None, _axes=None, **kwargs):
12621262
self.t_direction = t_direction
12631263
kwargs = self._normalise_kwargs(_axes, **kwargs)

lib/matplotlib/collections.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,12 @@ class FillBetweenPolyCollection(PolyCollection):
115115
t_direction: Literal["x", "y"],
116116
t: ArrayLike,
117117
f1: ArrayLike,
118-
f2: ArrayLike = ...,
118+
f2: ArrayLike,
119119
*,
120120
where: Sequence[bool] | None = ...,
121121
interpolate: bool = ...,
122122
step: Literal["pre", "post", "mid"] | None = ...,
123-
_axes: "Axes" | None = ...,
123+
_axes: "Axes | None" = ...,
124124
kwargs,
125125
) -> None: ...
126126
@property

0 commit comments

Comments
 (0)