We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4682f44 commit 316d882Copy full SHA for 316d882
lib/matplotlib/axes/_base.py
@@ -7,7 +7,7 @@
7
from operator import attrgetter
8
import re
9
import types
10
-from typing import Callable
+from typing import Callable, Type
11
12
import numpy as np
13
@@ -34,13 +34,13 @@
34
_log = logging.getLogger(__name__)
35
36
37
-coords_type_base = (
38
- str |
39
- martist.Artist |
40
- mtransforms.Transform |
+_coords_type_base = (
+ Type[str] |
+ martist.Artist |
+ mtransforms.Transform |
41
Callable[[backend_bases.RendererBase], mtransforms.Bbox | mtransforms.Transform]
42
)
43
-coords_type = coords_type_base | tuple[coords_type_base, coords_type_base]
+_coords_type = _coords_type_base | tuple[_coords_type_base, _coords_type_base]
44
45
46
class _axis_method_wrapper:
0 commit comments