-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Expand file tree
/
Copy pathdecorators.pyi
More file actions
21 lines (19 loc) · 797 Bytes
/
Copy pathdecorators.pyi
File metadata and controls
21 lines (19 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from collections.abc import Callable, Sequence
from pathlib import Path
from typing import Any
from matplotlib.figure import Figure
from matplotlib.typing import RcStyleType
def remove_ticks_and_titles(figure: Figure) -> None: ...
def image_comparison[**P, R](
baseline_images: list[str] | None,
extensions: list[str] | None = ...,
tol: float = ...,
freetype_version: tuple[str, str] | str | None = ...,
remove_text: bool = ...,
savefig_kwarg: dict[str, Any] | None = ...,
style: RcStyleType | None = ...,
) -> Callable[[Callable[P, R]], Callable[P, R]]: ...
def check_figures_equal[**P, R](
*, extensions: Sequence[str] = ..., tol: float = ...
) -> Callable[[Callable[P, R]], Callable[P, R]]: ...
def _image_directories(func: Callable) -> tuple[Path, Path]: ...