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

rm parse_commandline from ex/varia/TransmissionVsAlpha.py (#1123)

parent a547f8ef
No related branches found
No related tags found
1 merge request!2911rm parse_commandline from public script examples (#1123)
......@@ -37,7 +37,5 @@ def simulate(depth):
if __name__ == '__main__':
depths = [20, 40, 60]
results = [simulate(d) for d in depths]
plotargs = bp.parse_commandline()
plotargs['legendloc'] = 'lower right'
bp.plot_multicurve(results, **plotargs)
bp.plot_multicurve(results, legendloc='lower right')
bp.plt.show()
......@@ -37,11 +37,12 @@ def simulate(depth):
if __name__ == '__main__':
depths = [20, 40, 60]
results = [simulate(d) for d in depths]
<%- if test_mode or figure_mode -%>
plotargs = bp.parse_commandline()
plotargs['legendloc'] = 'lower right'
bp.plot_multicurve(results, **plotargs)
<%- if test_mode or figure_mode -%>
bp.export(**plotargs)
<%- else -%>
bp.plot_multicurve(results, legendloc='lower right')
bp.plt.show()
<%- end -%>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment