-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Expand file tree
/
Copy path_pylab_helpers.pyi
More file actions
29 lines (27 loc) · 1012 Bytes
/
_pylab_helpers.pyi
File metadata and controls
29 lines (27 loc) · 1012 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
28
29
from collections import OrderedDict
from matplotlib.backend_bases import FigureManagerBase
from matplotlib.figure import Figure
class Gcf:
figs: OrderedDict[int, FigureManagerBase]
@classmethod
def get_fig_manager(cls, num: int) -> FigureManagerBase | None: ...
@classmethod
def destroy(cls, num: int | FigureManagerBase) -> None: ...
@classmethod
def destroy_fig(cls, fig: Figure) -> None: ...
@classmethod
def destroy_all(cls) -> None: ...
@classmethod
def has_fignum(cls, num: int) -> bool: ...
@classmethod
def get_all_fig_managers(cls) -> list[FigureManagerBase]: ...
@classmethod
def get_num_fig_managers(cls) -> int: ...
@classmethod
def get_active(cls) -> FigureManagerBase | None: ...
@classmethod
def _set_new_active_manager(cls, manager: FigureManagerBase) -> None: ...
@classmethod
def set_active(cls, manager: FigureManagerBase) -> None: ...
@classmethod
def draw_all(cls, force: bool = ...) -> None: ...