@@ -3,18 +3,18 @@ from matplotlib.figure import Figure
33from typing import Any
44
55class LayoutEngine :
6- def __init__ (self , ** kwargs ) -> None : ...
6+ def __init__ (self , ** kwargs : Any ) -> None : ...
77 def set (self ) -> None : ...
88 @property
99 def colorbar_gridspec (self ) -> bool : ...
1010 @property
1111 def adjust_compatible (self ) -> bool : ...
1212 def get (self ) -> dict [str , Any ]: ...
13- def execute (self , fig ) -> None : ...
13+ def execute (self , fig : Figure ) -> None : ...
1414
1515class PlaceHolderLayoutEngine (LayoutEngine ):
1616 def __init__ (
17- self , adjust_compatible : bool , colorbar_gridspec : bool , ** kwargs
17+ self , adjust_compatible : bool , colorbar_gridspec : bool , ** kwargs : Any
1818 ) -> None : ...
1919 def execute (self , fig : Figure ) -> None : ...
2020
@@ -26,7 +26,7 @@ class TightLayoutEngine(LayoutEngine):
2626 h_pad : float | None = ...,
2727 w_pad : float | None = ...,
2828 rect : tuple [float , float , float , float ] = ...,
29- ** kwargs
29+ ** kwargs : Any
3030 ) -> None : ...
3131 def execute (self , fig : Figure ) -> None : ...
3232 def set (
@@ -48,9 +48,9 @@ class ConstrainedLayoutEngine(LayoutEngine):
4848 wspace : float | None = ...,
4949 rect : tuple [float , float , float , float ] = ...,
5050 compress : bool = ...,
51- ** kwargs
51+ ** kwargs : Any
5252 ) -> None : ...
53- def execute (self , fig : Figure ): ...
53+ def execute (self , fig : Figure ) -> Any : ...
5454 def set (
5555 self ,
5656 * ,
0 commit comments