-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Expand file tree
/
Copy pathcore.py
More file actions
27 lines (23 loc) · 799 Bytes
/
core.py
File metadata and controls
27 lines (23 loc) · 799 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
27
"""
Core functions and attributes for the matplotlib style library:
``use``
Select style sheet to override the current matplotlib settings.
``context``
Context manager to use a style sheet temporarily.
``available``
List available style sheets.
``library``
A dictionary of style names and matplotlib settings.
"""
from .. import _api
from . import (
use, context, available, library, reload_library, USER_LIBRARY_PATHS,
_BASE_LIBRARY_PATH as BASE_LIBRARY_PATH,
_STYLE_EXTENSION as STYLE_EXTENSION,
_STYLE_BLACKLIST as STYLE_BLACKLIST,
)
__all__ = [
"use", "context", "available", "library", "reload_library",
"USER_LIBRARY_PATHS", "BASE_LIBRARY_PATH", "STYLE_EXTENSION", "STYLE_BLACKLIST",
]
_api.warn_deprecated("3.11", name=__name__, obj_type="module")