Skip to content

Commit 29bb582

Browse files
mypy plot_warping_function
1 parent 54b5821 commit 29bb582

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/sectionproperties/analysis/fea.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,9 @@ def geometric_properties(
280280

281281
def torsion_properties(
282282
self,
283-
) -> tuple[npt.NDArray[np.float64], npt.NDArray[np.float64], npt.NDArray[np.float64]]:
283+
) -> tuple[
284+
npt.NDArray[np.float64], npt.NDArray[np.float64], npt.NDArray[np.float64]
285+
]:
284286
"""Calculates the element warping stiffness matrix and the torsion load vector.
285287
286288
Returns:

src/sectionproperties/analysis/section.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1690,8 +1690,8 @@ def plot_warping_function(
16901690
cmap: str = "viridis",
16911691
alpha: float = 0.2,
16921692
with_lines: bool = True,
1693-
**kwargs,
1694-
):
1693+
**kwargs: Any,
1694+
) -> matplotlib.axes.Axes:
16951695
r"""Plots the warping function over the mesh.
16961696
16971697
Args:

0 commit comments

Comments
 (0)