You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nvim_config/typings/matplotlib/__init__.pyi

117 lines
2.7 KiB

"""
This type stub file was generated by pyright.
"""
import os
import contextlib
from pathlib import Path
from collections.abc import Callable, Generator
from packaging.version import Version
from matplotlib._api import MatplotlibDeprecationWarning
from typing import Any, NamedTuple
from matplotlib.cm import _colormaps as colormaps
from matplotlib.colors import _color_sequences as color_sequences
__all__ = ["__bibtex__", "__version__", "__version_info__", "set_loglevel", "ExecutableNotFoundError", "get_configdir", "get_cachedir", "get_data_path", "matplotlib_fname", "MatplotlibDeprecationWarning", "RcParams", "rc_params", "rc_params_from_file", "rcParamsDefault", "rcParams", "rcParamsOrig", "defaultParams", "rc", "rcdefaults", "rc_file_defaults", "rc_file", "rc_context", "use", "get_backend", "interactive", "is_interactive", "colormaps", "color_sequences"]
class _VersionInfo(NamedTuple):
major: int
minor: int
micro: int
releaselevel: str
serial: int
...
__bibtex__: str
__version__: str
__version_info__: _VersionInfo
def set_loglevel(level: str) -> None:
...
class _ExecInfo(NamedTuple):
executable: str
raw_version: str
version: Version
...
class ExecutableNotFoundError(FileNotFoundError):
...
def get_configdir() -> str:
...
def get_cachedir() -> str:
...
def get_data_path() -> str:
...
def matplotlib_fname() -> str:
...
class RcParams(dict[str, Any]):
validate: dict[str, Callable]
def __init__(self, *args, **kwargs) -> None:
...
def __setitem__(self, key: str, val: Any) -> None:
...
def __getitem__(self, key: str) -> Any:
...
def __iter__(self) -> Generator[str, None, None]:
...
def __len__(self) -> int:
...
def find_all(self, pattern: str) -> RcParams:
...
def copy(self) -> RcParams:
...
def rc_params(fail_on_error: bool = ...) -> RcParams:
...
def rc_params_from_file(fname: str | Path | os.PathLike, fail_on_error: bool = ..., use_default_template: bool = ...) -> RcParams:
...
rcParamsDefault: RcParams
rcParams: RcParams
rcParamsOrig: RcParams
defaultParams: dict[str, Any]
def rc(group: str, **kwargs) -> None:
...
def rcdefaults() -> None:
...
def rc_file_defaults() -> None:
...
def rc_file(fname: str | Path | os.PathLike, *, use_default_template: bool = ...) -> None:
...
@contextlib.contextmanager
def rc_context(rc: dict[str, Any] | None = ..., fname: str | Path | os.PathLike | None = ...) -> Generator[None, None, None]:
...
def use(backend: str, *, force: bool = ...) -> None:
...
def get_backend() -> str:
...
def interactive(b: bool) -> None:
...
def is_interactive() -> bool:
...