Skip to content

Commit

Permalink
rework docs to eliminate deprecated syntax references
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdsharpe committed Sep 26, 2023
1 parent 3de1b64 commit a528072
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions aerosandbox/aerodynamics/aero_3D/lifting_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ def draw(self,
):
"""
Draws the solution. Note: Must be called on a SOLVED AeroProblem object.
To solve an AeroProblem, use opti.solve(). To substitute a solved solution, use ap = ap.substitute_solution(sol).
To solve an AeroProblem, use opti.solve(). To substitute a solved solution, use ap = sol(ap).
:return:
"""

Expand Down Expand Up @@ -1080,7 +1080,7 @@ def draw(self,
):
"""
Draws the solution. Note: Must be called on a SOLVED AeroProblem object.
To solve an AeroProblem, use opti.solve(). To substitute a solved solution, use ap = ap.substitute_solution(sol).
To solve an AeroProblem, use opti.solve(). To substitute a solved solution, use ap = sol(ap).
:return:
"""

Expand Down
2 changes: 1 addition & 1 deletion aerosandbox/aerodynamics/aero_3D/nonlinear_lifting_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ def draw(self,
):
"""
Draws the solution. Note: Must be called on a SOLVED AeroProblem object.
To solve an AeroProblem, use opti.solve(). To substitute a solved solution, use ap = ap.substitute_solution(sol).
To solve an AeroProblem, use opti.solve(). To substitute a solved solution, use ap = sol(ap).
:return:
"""
if show_kwargs is None:
Expand Down
2 changes: 1 addition & 1 deletion aerosandbox/aerodynamics/aero_3D/vortex_lattice_method.py
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ def draw(self,
):
"""
Draws the solution. Note: Must be called on a SOLVED AeroProblem object.
To solve an AeroProblem, use opti.solve(). To substitute a solved solution, use ap = ap.substitute_solution(sol).
To solve an AeroProblem, use opti.solve(). To substitute a solved solution, use ap = sol(ap).
:return:
"""
if show_kwargs is None:
Expand Down

0 comments on commit a528072

Please sign in to comment.