Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove matplotlib warning about creating a figure that is already cre…
Browse files Browse the repository at this point in the history
…ated.
schaubh committed Jan 26, 2025
1 parent 9033d0a commit 7216864
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/scenarioSepMomentumManagement.py
Original file line number Diff line number Diff line change
@@ -814,6 +814,7 @@ def run(swirlTorque, thrMomManagement, saMomManagement, cmEstimation, showPlots)
thrVec_F = np.array(thrVec_F)

# Plot the results
plt.close('all')
figureList = {}
plot_attitude(timeData, dataSigmaBN, dataSigmaRN, figID=1)
pltName = fileName+"1"+str(int(thrMomManagement))+str(int(cmEstimation))

0 comments on commit 7216864

Please sign in to comment.