From 396f6b2a0d9c79c3c0379a37db68830c37e34731 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 12 Mar 2021 07:41:47 -0500 Subject: [PATCH] Fix type annot --- piker/ui/_label.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/piker/ui/_label.py b/piker/ui/_label.py index 8e773666..20638c2e 100644 --- a/piker/ui/_label.py +++ b/piker/ui/_label.py @@ -32,7 +32,7 @@ from ._style import ( ) -def vbr_left(label) -> Callable[None, float]: +def vbr_left(label) -> Callable[..., float]: """Return a closure which gives the scene x-coordinate for the leftmost point of the containing view box. @@ -51,7 +51,7 @@ def right_axis( offset: float = 10, width: float = None, -) -> Callable[None, float]: +) -> Callable[..., float]: """Return a position closure which gives the scene x-coordinate for the x point on the right y-axis minus the width of the label given it's contents.