@@ -3,18 +3,18 @@ from matplotlib.figure import Figure
3
3
from typing import Any
4
4
5
5
class LayoutEngine :
6
- def __init__ (self , ** kwargs ) -> None : ...
6
+ def __init__ (self , ** kwargs : Any ) -> None : ...
7
7
def set (self ) -> None : ...
8
8
@property
9
9
def colorbar_gridspec (self ) -> bool : ...
10
10
@property
11
11
def adjust_compatible (self ) -> bool : ...
12
12
def get (self ) -> dict [str , Any ]: ...
13
- def execute (self , fig ) -> None : ...
13
+ def execute (self , fig : Figure ) -> None : ...
14
14
15
15
class PlaceHolderLayoutEngine (LayoutEngine ):
16
16
def __init__ (
17
- self , adjust_compatible : bool , colorbar_gridspec : bool , ** kwargs
17
+ self , adjust_compatible : bool , colorbar_gridspec : bool , ** kwargs : Any
18
18
) -> None : ...
19
19
def execute (self , fig : Figure ) -> None : ...
20
20
@@ -26,7 +26,7 @@ class TightLayoutEngine(LayoutEngine):
26
26
h_pad : float | None = ...,
27
27
w_pad : float | None = ...,
28
28
rect : tuple [float , float , float , float ] = ...,
29
- ** kwargs
29
+ ** kwargs : Any
30
30
) -> None : ...
31
31
def execute (self , fig : Figure ) -> None : ...
32
32
def set (
@@ -48,9 +48,9 @@ class ConstrainedLayoutEngine(LayoutEngine):
48
48
wspace : float | None = ...,
49
49
rect : tuple [float , float , float , float ] = ...,
50
50
compress : bool = ...,
51
- ** kwargs
51
+ ** kwargs : Any
52
52
) -> None : ...
53
- def execute (self , fig : Figure ): ...
53
+ def execute (self , fig : Figure ) -> Any : ...
54
54
def set (
55
55
self ,
56
56
* ,
0 commit comments