This commit is contained in:
2024-11-29 18:15:30 +00:00
parent 40aade2d8e
commit bc9415586e
5298 changed files with 1938676 additions and 80 deletions

View File

@ -0,0 +1,16 @@
from typing import TypeVar
from ._axes import Axes as Axes
_T = TypeVar("_T")
# Backcompat.
Subplot = Axes
class _SubplotBaseMeta(type):
def __instancecheck__(self, obj) -> bool: ...
class SubplotBase(metaclass=_SubplotBaseMeta): ...
def subplot_class_factory(cls: type[_T]) -> type[_T]: ...