-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Expand file tree
/
Copy pathcore.pyi
More file actions
26 lines (20 loc) · 674 Bytes
/
core.pyi
File metadata and controls
26 lines (20 loc) · 674 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
from collections.abc import Generator
import contextlib
from matplotlib import RcParams
from matplotlib.typing import RcStyleType
USER_LIBRARY_PATHS: list[str] = ...
BASE_LIBRARY_PATH: str = ...
STYLE_EXTENSION: str = ...
STYLE_BLACKLIST: set[str] = ...
def use(style: RcStyleType) -> None: ...
@contextlib.contextmanager
def context(
style: RcStyleType, after_reset: bool = ...
) -> Generator[None, None, None]: ...
library: dict[str, RcParams]
available: list[str]
def reload_library() -> None: ...
__all__ = [
"use", "context", "available", "library", "reload_library",
"USER_LIBRARY_PATHS", "BASE_LIBRARY_PATH", "STYLE_EXTENSION", "STYLE_BLACKLIST",
]