This commit is contained in:
cjw
2026-02-12 23:22:11 +08:00
parent 7b09eb3d89
commit 89660bba4e
5988 changed files with 2517516 additions and 0 deletions
@@ -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]: ...