From a5de7bb34929405815c3f02b1a15dca552caa74b Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de> Date: Fri, 6 Oct 2023 14:55:51 +0200 Subject: [PATCH] repair legend in example VsGenx (#748) --- auto/Examples/specular/VsGenx.py | 2 +- auto/MiniExamples/specular/VsGenx.py | 2 +- rawEx/specular/VsGenx.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/auto/Examples/specular/VsGenx.py b/auto/Examples/specular/VsGenx.py index 9ec3549bac4..5ff2afe050e 100755 --- a/auto/Examples/specular/VsGenx.py +++ b/auto/Examples/specular/VsGenx.py @@ -60,5 +60,5 @@ if __name__ == '__main__': simulation = get_simulation(sample) result = simulation.simulate() bp.plot_simulation_result(result) - bp.show_or_export() plt.legend(['GenX', 'BornAgain'], loc='upper right') + bp.show_or_export() diff --git a/auto/MiniExamples/specular/VsGenx.py b/auto/MiniExamples/specular/VsGenx.py index 927e9eec681..a64694c6100 100755 --- a/auto/MiniExamples/specular/VsGenx.py +++ b/auto/MiniExamples/specular/VsGenx.py @@ -60,5 +60,5 @@ if __name__ == '__main__': simulation = get_simulation(sample) result = simulation.simulate() bp.plot_simulation_result(result) - bp.show_or_export() plt.legend(['GenX', 'BornAgain'], loc='upper right') + bp.show_or_export() diff --git a/rawEx/specular/VsGenx.py b/rawEx/specular/VsGenx.py index 3f4bb15b84e..a2a60a5f2be 100755 --- a/rawEx/specular/VsGenx.py +++ b/rawEx/specular/VsGenx.py @@ -60,5 +60,5 @@ if __name__ == '__main__': simulation = get_simulation(sample) result = simulation.simulate() bp.plot_simulation_result(result) - bp.show_or_export() plt.legend(['GenX', 'BornAgain'], loc='upper right') + bp.show_or_export() -- GitLab