Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions profoil_canvas.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,11 @@ def clear_axes(self):
"""
clears all axes data such that new session with new airfoil can be loaded.
"""
self.ue_ax.lines=[]
self.ue_ax.collections=[]
self.ue_ax.clear()
# self.ue_ax.collections=[]

self.xy_ax.lines=[]
self.xy_ax.collections=[]
self.xy_ax.clear()
# self.xy_ax.collections=[]

self.clear_an_ax()

Expand Down Expand Up @@ -729,4 +729,4 @@ def save_airfoil(self, out_file):
file_path = Path(out_file)
file_path.parent.mkdir(parents=True, exist_ok=True)
with file_path.open("w") as f:
f.write(Path(WORKDIR/"profoil.in").open().read())
f.write(Path(WORKDIR/"profoil.in").open().read())