Skip to content

Commit

Permalink
try to close plot directly
Browse files Browse the repository at this point in the history
  • Loading branch information
SilkeSchomann committed Feb 14, 2024
1 parent 6844658 commit 494e211
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion tests/scripting_helperfunctions_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,6 @@ def test_script_execution(self):
scripts = pathlib.Path(__file__, '..', 'testscripts').resolve().glob('*.py')
for script in scripts:
runpy.run_path(str(script))
plt.close()


if __name__ == "__main__":
Expand Down
1 change: 1 addition & 0 deletions tests/testscripts/subtract_scaled_ws.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@
cb.set_label('Intensity (arb. units)', labelpad=20, rotation=270, picker=5, fontsize=10.0)
ax.set_title('MAR21335_Ei60meV_subtracted', fontsize=12.0)
mc.Show()
plt.close()

0 comments on commit 494e211

Please sign in to comment.