Skip to content

Commit 95cf154

Browse files
committed
widgets.pyi: Fix SliderBase's valfmt type
1 parent bda958a commit 95cf154

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/widgets.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class SliderBase(AxesWidget):
6464
valmax: float
6565
valstep: float | ArrayLike | None
6666
drag_active: bool
67-
valfmt: str
67+
valfmt: str | None
6868
def __init__(
6969
self,
7070
ax: Axes,
@@ -73,7 +73,7 @@ class SliderBase(AxesWidget):
7373
closedmax: bool,
7474
valmin: float,
7575
valmax: float,
76-
valfmt: str,
76+
valfmt: str | None,
7777
dragging: Slider | None,
7878
valstep: float | ArrayLike | None,
7979
) -> None: ...

0 commit comments

Comments
 (0)