Skip to content

Commit 316d882

Browse files
committed
Fix import
1 parent 4682f44 commit 316d882

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/matplotlib/axes/_base.py

+6-6
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
10+
from typing import Callable, Type
1111

1212
import numpy as np
1313

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

3636

37-
coords_type_base = (
38-
str |
39-
martist.Artist |
40-
mtransforms.Transform |
37+
_coords_type_base = (
38+
Type[str] |
39+
martist.Artist |
40+
mtransforms.Transform |
4141
Callable[[backend_bases.RendererBase], mtransforms.Bbox | mtransforms.Transform]
4242
)
43-
coords_type = coords_type_base | tuple[coords_type_base, coords_type_base]
43+
_coords_type = _coords_type_base | tuple[_coords_type_base, _coords_type_base]
4444

4545

4646
class _axis_method_wrapper:

0 commit comments

Comments
 (0)