Skip to content

Commit d78d5b1

Browse files
committed
fix matplotlib warning that fig(1) already exists
1 parent 51f3cd2 commit d78d5b1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/simulation/dynamics/Integrators/_UnitTest/test_Integrators.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,7 @@ def run(doUnitTests, show_plots, integratorCase):
204204
#
205205
np.set_printoptions(precision=16)
206206
fileNameString = filename[len(path) + 6:-3]
207-
if integratorCase == "bogackiShampine":
208-
plt.close("all") # clears out plots from earlier test runs
207+
plt.close("all") # clears out plots from earlier test runs
209208

210209
# draw orbit in perifocal frame
211210
b = oe.a * np.sqrt(1 - oe.e * oe.e)

0 commit comments

Comments
 (0)