Skip to content

Commit e8be3e5

Browse files
committed
Fix stubtest for Python 3.9
1 parent ec2ccbe commit e8be3e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from operator import attrgetter
88
import re
99
import types
10-
from typing import Callable, Union, TypeAlias
10+
from typing import Callable, Union
1111

1212
import numpy as np
1313

@@ -34,7 +34,7 @@
3434
_log = logging.getLogger(__name__)
3535

3636

37-
coords_type_base: TypeAlias = Union[
37+
coords_type_base = Union[
3838
str,
3939
martist.Artist,
4040
mtransforms.Transform,
@@ -43,7 +43,7 @@
4343
Union[mtransforms.Bbox, mtransforms.Transform]
4444
]
4545
]
46-
coords_type: TypeAlias = Union[
46+
coords_type = Union[
4747
coords_type_base,
4848
tuple[coords_type_base, coords_type_base]
4949
]

0 commit comments

Comments
 (0)