Skip to content

Commit

Permalink
Applies fixes found by @silverdonkey
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdsharpe committed Oct 28, 2024
1 parent 2906fcc commit 12c0f23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions aerosandbox/aerodynamics/aero_3D/lifting_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,6 @@ def run_with_stability_derivatives(
"r": (2 * self.op_point.velocity) / self.airplane.b_ref,
}


# Compute the point analysis, which returns a dictionary that we will later add key:value pairs to.
run_base = self.run()

Expand Down Expand Up @@ -1153,7 +1152,8 @@ def draw(

return fig.draw(
show=show,
colorbar_title=colorbar_label**show_kwargs,
colorbar_title=colorbar_label,
**show_kwargs,
)

elif backend == "pyvista":
Expand Down Expand Up @@ -1322,7 +1322,6 @@ def get_aero(resolution):
resolutions = 1 + np.arange(20)
aeros = get_aero(resolutions)


fig, ax = plt.subplots(3, 1)
ax[0].semilogx(resolutions, [aero["CL"] for aero in aeros])
ax[0].plot(
Expand Down
3 changes: 2 additions & 1 deletion aerosandbox/aerodynamics/aero_3D/nonlinear_lifting_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,8 @@ def draw(

return fig.draw(
show=show,
colorbar_title=colorbar_label**show_kwargs,
colorbar_title=colorbar_label,
**show_kwargs,
)

elif backend == "pyvista":
Expand Down

0 comments on commit 12c0f23

Please sign in to comment.