From f7a377e7659ce006acfd94fca2dcf6fcf5362bf4 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Mon, 24 Jun 2019 19:13:54 -0700 Subject: plotting method cleanup --- evaluator.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/evaluator.py b/evaluator.py index 8e82312..d5e5ee3 100644 --- a/evaluator.py +++ b/evaluator.py @@ -232,7 +232,7 @@ def plot_geom(evaluator): plt.plot(x, y, '-', color='b') except AttributeError: print('No spars to plot.') - # Plot upper stringers + # Plot stringers try: for _ in range(0, len(evaluator.stringer.x)): x = evaluator.stringer.x[_] @@ -240,11 +240,6 @@ def plot_geom(evaluator): plt.plot(x, y, '.', color='y', markersize=12) except AttributeError: print('No stringers to plot.') - # # Plot lower stringers - # for _ in range(0, len(evaluator.stringer.x)): - # x = evaluator.stringer.x[_] - # y = evaluator.stringer.z[_] - # plt.plot(x, y, '.', color='y', markersize=12) # Plot centroid x = evaluator.centroid[0] -- cgit v1.2.3