aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/matplotlib/py3/matplotlib/layout_engine.pyi
diff options
context:
space:
mode:
authorAlexander Smirnov <alex@ydb.tech>2024-03-06 14:40:57 +0100
committerAlexander Smirnov <alex@ydb.tech>2024-03-06 14:40:57 +0100
commit878c623c7868470d2b2130ae4ee04ff3221c57a6 (patch)
treec7155f53743bde7a3133d458bd7302d7959d2d4e /contrib/python/matplotlib/py3/matplotlib/layout_engine.pyi
parent4c55e729c054fec7cafb703ad6e174dd76e5ac96 (diff)
parentc40ca3aecd1217720caeb85144a70899e015d03f (diff)
downloadydb-878c623c7868470d2b2130ae4ee04ff3221c57a6.tar.gz
Merge branch 'rightlib' into mergelibs17
Diffstat (limited to 'contrib/python/matplotlib/py3/matplotlib/layout_engine.pyi')
-rw-r--r--contrib/python/matplotlib/py3/matplotlib/layout_engine.pyi62
1 files changed, 62 insertions, 0 deletions
diff --git a/contrib/python/matplotlib/py3/matplotlib/layout_engine.pyi b/contrib/python/matplotlib/py3/matplotlib/layout_engine.pyi
new file mode 100644
index 00000000000..5b8c812ff47
--- /dev/null
+++ b/contrib/python/matplotlib/py3/matplotlib/layout_engine.pyi
@@ -0,0 +1,62 @@
+from matplotlib.figure import Figure
+
+from typing import Any
+
+class LayoutEngine:
+ def __init__(self, **kwargs: Any) -> None: ...
+ def set(self) -> None: ...
+ @property
+ def colorbar_gridspec(self) -> bool: ...
+ @property
+ def adjust_compatible(self) -> bool: ...
+ def get(self) -> dict[str, Any]: ...
+ def execute(self, fig: Figure) -> None: ...
+
+class PlaceHolderLayoutEngine(LayoutEngine):
+ def __init__(
+ self, adjust_compatible: bool, colorbar_gridspec: bool, **kwargs: Any
+ ) -> None: ...
+ def execute(self, fig: Figure) -> None: ...
+
+class TightLayoutEngine(LayoutEngine):
+ def __init__(
+ self,
+ *,
+ pad: float = ...,
+ h_pad: float | None = ...,
+ w_pad: float | None = ...,
+ rect: tuple[float, float, float, float] = ...,
+ **kwargs: Any
+ ) -> None: ...
+ def execute(self, fig: Figure) -> None: ...
+ def set(
+ self,
+ *,
+ pad: float | None = ...,
+ w_pad: float | None = ...,
+ h_pad: float | None = ...,
+ rect: tuple[float, float, float, float] | None = ...
+ ) -> None: ...
+
+class ConstrainedLayoutEngine(LayoutEngine):
+ def __init__(
+ self,
+ *,
+ h_pad: float | None = ...,
+ w_pad: float | None = ...,
+ hspace: float | None = ...,
+ wspace: float | None = ...,
+ rect: tuple[float, float, float, float] = ...,
+ compress: bool = ...,
+ **kwargs: Any
+ ) -> None: ...
+ def execute(self, fig: Figure) -> Any: ...
+ def set(
+ self,
+ *,
+ h_pad: float | None = ...,
+ w_pad: float | None = ...,
+ hspace: float | None = ...,
+ wspace: float | None = ...,
+ rect: tuple[float, float, float, float] | None = ...
+ ) -> None: ...