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

rm parse_commandline from ex/varia/TrVsDepth (#1123)

parent 8c9f84f6
No related branches found
No related tags found
1 merge request!2911rm parse_commandline from public script examples (#1123)
......@@ -36,7 +36,5 @@ if __name__ == '__main__':
sample = get_sample()
angles = [0.4, 0.5, 0.6, 0.65, 0.7]
results = [simulate(sample, ai) for ai in angles]
plotargs = bp.parse_commandline()
plotargs['legendloc'] = 'lower right'
bp.plot_multicurve(results, **plotargs)
bp.plot_multicurve(results, legendloc='lower right')
bp.plt.show()
......@@ -36,11 +36,12 @@ if __name__ == '__main__':
sample = get_sample()
angles = [0.4, 0.5, 0.6, 0.65, 0.7]
results = [simulate(sample, ai) for ai in angles]
<%- 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