Skip to content

Commit

Permalink
Fix **kwargs in docstrings (#208)
Browse files Browse the repository at this point in the history
* Fix **kwargs in docstrings

* Fix it the other way
  • Loading branch information
A-CGray authored Jul 14, 2023
1 parent d785374 commit d4784ad
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pygeo/parameterization/DVGeoCST.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def addPointSet(self, points, ptName, boundTol=1e-10, **kwargs):
boundTol : float, optional
Small absolute deviation by which the airfoil coordinates can exceed the initial
minimum and maximum x coordinates, by default 1e-10.
\*\*kwargs
\\*\\*kwargs
Any other parameters are ignored.
"""
# Convert points to the type specified at initialization (with isComplex) and store the points
Expand Down Expand Up @@ -556,7 +556,7 @@ def totalSensitivity(self, dIdpt, ptSetName, comm=None, **kwargs):
If you have many to do, it is faster to do many at once.
ptSetName : str
The name of set of points we are dealing with
\*\*kwargs
\\*\\*kwargs
Any other parameters ignored, but this is maintained to allow the same
interface as other DVGeo implementations.
Expand Down Expand Up @@ -691,7 +691,7 @@ def totalSensitivityProd(self, vec, ptSetName, **kwargs):
values are the derivative seeds of the corresponding design variable.
ptSetName : str
The name of set of points we are dealing with
\*\*kwargs
\\*\\*kwargs
Any other parameters ignored, but this is maintained to allow the same
interface as other DVGeo implementations.
Expand Down Expand Up @@ -799,7 +799,7 @@ def update(self, ptSetName, **kwargs):
ptSetName : str
Name of point-set to return. This must match ones of the
given in an :func:`addPointSet()` call.
\*\*kwargs
\\*\\*kwargs
Any other parameters ignored, but this is maintained to allow the same
interface as other DVGeo implementations.
Expand Down Expand Up @@ -1207,7 +1207,7 @@ def plotCST(upperCoeff, lowerCoeff, N1=0.5, N2=1.0, nPts=100, ax=None, **kwargs)
Number of coordinates to compute on each surface.
ax : matplotlib Axes, optional
Axes on which to plot airfoil.
\*\*kwargs
\\*\\*kwargs
Keyword arguments passed to matplotlib.pyplot.plot
Returns
Expand Down

0 comments on commit d4784ad

Please sign in to comment.