AIM-PIbd-32-Kurbanova-A-A/aimenv/Lib/site-packages/matplotlib/axes/__init__.py

19 lines
365 B
Python
Raw Normal View History

2024-10-02 22:15:59 +04:00
from . import _base
from ._axes import Axes # noqa: F401
# Backcompat.
Subplot = Axes
class _SubplotBaseMeta(type):
def __instancecheck__(self, obj):
return (isinstance(obj, _base._AxesBase)
and obj.get_subplotspec() is not None)
class SubplotBase(metaclass=_SubplotBaseMeta):
pass
def subplot_class_factory(cls): return cls