We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7b73bf3 + c37449c commit f5b325eCopy full SHA for f5b325e
lib/matplotlib/figure.pyi
@@ -132,7 +132,7 @@ class FigureBase(Artist):
132
height_ratios: Sequence[float] | None = ...,
133
subplot_kw: dict[str, Any] | None = ...,
134
gridspec_kw: dict[str, Any] | None = ...,
135
- ) -> Axes | np.ndarray: ...
+ ) -> Any: ...
136
def delaxes(self, ax: Axes) -> None: ...
137
def clear(self, keep_observers: bool = ...) -> None: ...
138
def clf(self, keep_observers: bool = ...) -> None: ...
lib/matplotlib/pyplot.py
@@ -1597,7 +1597,7 @@ def subplots(
1597
1598
1599
**fig_kw
1600
-) -> tuple[Figure, Axes | np.ndarray]:
+) -> tuple[Figure, Any]:
1601
...
1602
1603
0 commit comments