From 0c83d20926c45eab50b81af099c1cfd0c4ed4552 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Mon, 9 May 2022 08:48:54 +0100 Subject: [PATCH] docstring fix --- src/textual/widget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/textual/widget.py b/src/textual/widget.py index c2ae0b955..3e732e9f5 100644 --- a/src/textual/widget.py +++ b/src/textual/widget.py @@ -301,7 +301,7 @@ class Widget(DOMNode): Args: x (int | None, optional): X coordinate (column) to scroll to, or ``None`` for no change. Defaults to None. - x (int | None, optional): Y coordinate (row) to scroll to, or ``None`` for no change. Defaults to None. + y (int | None, optional): Y coordinate (row) to scroll to, or ``None`` for no change. Defaults to None. animate (bool, optional): Animate to new scroll position. Defaults to False. Returns: