__init__.pyi 303 B

12345678910111213141516
  1. from typing import TypeVar
  2. from ._axes import Axes as Axes
  3. _T = TypeVar("_T")
  4. # Backcompat.
  5. Subplot = Axes
  6. class _SubplotBaseMeta(type):
  7. def __instancecheck__(self, obj) -> bool: ...
  8. class SubplotBase(metaclass=_SubplotBaseMeta): ...
  9. def subplot_class_factory(cls: type[_T]) -> type[_T]: ...