Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 393cc34

Browse files
committed
Add missing layout engine type hints
1 parent a1d0512 commit 393cc34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/layout_engine.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ from matplotlib.figure import Figure
33
from typing import Any
44

55
class 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

1515
class PlaceHolderLayoutEngine(LayoutEngine):
1616
def __init__(

0 commit comments

Comments
 (0)