← Về thư mục
- _normalize_formats · function · L40-L59 — def _normalize_formats(formats: Iterable[str]) -> list[str]
- _base_output_path · function · L62-L68 — def _base_output_path(value: str | os.PathLike[str]) -> Path
- _font_rc · function · L71-L87 — def _font_rc(font_mode: str) -> dict[str, Any]
- _package_version · function · L90-L94 — def _package_version(distribution: str) -> str | None
- _atomic_savefig · function · L97-L132 — def _atomic_savefig( fig: Any, destination: Path, *, format_name: str, save_kwargs: dict[str, Any], overwrite: bool, ) -> None
- _validate_provenance · function · L135-L146 — def _validate_provenance(provenance: dict[str, Any] | None) -> dict[str, Any]
- export_figure · function · L149-L320 — def export_figure( fig: Any, filename: str | os.PathLike[str], *, formats: Iterable[str] = ("pdf", "png"), dpi: float = 300, transparent: bool = False, bbox_inches: str | None = None, pad_inches: float = 0.1, facecolor: str = "white", edgecolor: str = "none", font_mode: str = "truetype", overwrite: bool = False, mkdir: bool = False, metadata: dict[str, Any] | None = None, provenance: dict[str, Any] | None = None, write_manifest: bool = False, savefig_kwargs: dict[str, Any] | None = None, ) -> dict[str, Any]
- save_publication_figure · function · L323-L359 — def save_publication_figure( fig: Any, filename: str | os.PathLike[str], formats: Iterable[str] = ("pdf", "png"), dpi: float = 300, transparent: bool = False, bbox_inches: str | None = None, pad_inches: float = 0.1, facecolor: str = "white", , overwrite: bool = False, provenance: dict[str, Any] | None = None, write_manifest: bool = False, *kwargs: Any, ) -> list[Path]
- _load_profiles · function · L362-L370 — def _load_profiles() -> dict[str, Any]
- check_figure_size · function · L373-L436 — def check_figure_size( fig: Any, journal: str = "nature", *, tolerance_mm: float = 1.0, ) -> dict[str, Any]
- save_for_journal · function · L439-L513 — def save_for_journal( fig: Any, filename: str | os.PathLike[str], journal: str, figure_type: str = "combination", *, confirm_profile: bool = False, format_name: str | None = None, dpi: float | None = None, overwrite: bool = False, ) -> list[Path]
- verify_font_embedding · function · L516-L532 — def verify_font_embedding(pdf_path: str | os.PathLike[str]) -> dict[str, Any]
- _demo_figure · function · L535-L559 — def _demo_figure() -> Any
- build_parser · function · L562-L599 — def build_parser() -> argparse.ArgumentParser
- main · function · L602-L638 — def main(argv: list[str] | None = None) -> int