Skip to content
Snippets Groups Projects
Commit 1716ca07 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

rm run_and_plot for good

parent ba2e2374
No related branches found
No related tags found
1 merge request!771ba_plot: rm run_and_plot
Pipeline #61938 passed
......@@ -85,4 +85,4 @@ def get_simulation(sample):
if __name__ == '__main__':
sample = get_sample()
simulation = get_simulation(sample)
bp.run_and_plot(simulation, aspect='auto')
bp.plot_simulation_result(simulation.simulate(), aspect='auto')
......@@ -64,4 +64,4 @@ def get_simulation(sample):
if __name__ == '__main__':
sample = get_sample()
simulation = get_simulation(sample)
bp.run_and_plot(simulation, intensity_min=1e-03)
bp.plot_simulation_result(simulation.simulate(), intensity_min=1e-03)
......@@ -72,4 +72,4 @@ def get_simulation(sample):
if __name__ == '__main__':
sample = get_sample()
simulation = get_simulation(sample)
bp.run_and_plot(simulation, intensity_min=1)
bp.plot_simulation_result(simulation.simulate(), intensity_min=1)
......@@ -243,7 +243,3 @@ def plot_simulation_result(result, **kwargs):
plt.show()
else:
print("plot_simulation_result: noshow")
def run_and_plot(simulation, **kwargs):
plot_simulation_result(simulation.simulate(), **kwargs)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment