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

plt.tight_layout skipped in test mode

parent 05a90eb8
No related branches found
No related tags found
1 merge request!1973Accelerate tests (skip plt.tight_layout)
......@@ -462,7 +462,8 @@ def plot_simulation_result(result):
plot_specular_curve(result, **plotargs)
else:
plot_simres(result, **plotargs)
plt.tight_layout()
if do_show or figfile: # skip in test mode, saves about 0.2 s
plt.tight_layout()
show_or_export()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment