summaryrefslogtreecommitdiff
path: root/creator.py
diff options
context:
space:
mode:
Diffstat (limited to 'creator.py')
-rw-r--r--creator.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/creator.py b/creator.py
index fb6e4e1..1a4ddb7 100644
--- a/creator.py
+++ b/creator.py
@@ -222,7 +222,7 @@ class Airfoil(Coordinates):
return None
def plot(self):
- '''This function plots the elements passed as arguments.'''
+ '''This function plots the entire airfoil's geometry.'''
# Plot chord
x_chord = [0, self.chord]
@@ -268,7 +268,9 @@ class Airfoil(Coordinates):
plt.ylim(- (1.10 * plot_bound / 2), (1.10 * plot_bound / 2))
plt.gca().set_aspect('equal', adjustable='box')
plt.grid(axis='both', linestyle=':', linewidth=1)
- plt.show()
+ plt.draw()
+ plt.pause(1)
+ # plt.close()
return None
Copyright 2019--2024 Marius PETER