Fix type annot

basic_orders
Tyler Goodlet 2021-03-12 07:41:47 -05:00
parent 18ab81a967
commit 396f6b2a0d
1 changed files with 2 additions and 2 deletions

View File

@ -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 """Return a closure which gives the scene x-coordinate for the
leftmost point of the containing view box. leftmost point of the containing view box.
@ -51,7 +51,7 @@ def right_axis(
offset: float = 10, offset: float = 10,
width: float = None, width: float = None,
) -> Callable[None, float]: ) -> Callable[..., float]:
"""Return a position closure which gives the scene x-coordinate for """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 the x point on the right y-axis minus the width of the label given
it's contents. it's contents.