Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Franz Masatoshi Yuri committed Jan 25, 2023
1 parent d572bcc commit b488ac5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rocketpy/AeroSurfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,7 @@ def draw(self):
)

# Plotting
fig3 = plt.figure(figsize=(4, 4))
fig3 = plt.figure(figsize=(7, 4))
with plt.style.context("bmh"):
ax1 = fig3.add_subplot(111)

Expand Down Expand Up @@ -1015,6 +1015,7 @@ def draw(self):
ax1.set_title("Trapezoidal Fin")
ax1.legend(bbox_to_anchor=(1.05, 1.0), loc="upper left")

plt.tight_layout()
plt.show()

return None
Expand Down Expand Up @@ -1309,7 +1310,7 @@ def draw(self):
cp_point = [self.cpz, self.Yma]

# Plotting
fig3 = plt.figure(figsize=(4, 4))
fig3 = plt.figure(figsize=(7, 4))
with plt.style.context("bmh"):
ax1 = fig3.add_subplot(111)
ax1.add_patch(el)
Expand All @@ -1328,6 +1329,7 @@ def draw(self):
ax1.set_title("Elliptical Fin")
ax1.legend(bbox_to_anchor=(1.05, 1.0), loc="upper left")

plt.tight_layout()
plt.show()

return None
Expand Down

0 comments on commit b488ac5

Please sign in to comment.