From 980508a173cd16aaabbfd15f9491be893e325fbe Mon Sep 17 00:00:00 2001 From: shivesh Date: Mon, 16 Apr 2018 16:57:08 -0500 Subject: Mon Apr 16 16:57:08 CDT 2018 --- utils/plot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils') diff --git a/utils/plot.py b/utils/plot.py index 0d02c2a..0b82675 100644 --- a/utils/plot.py +++ b/utils/plot.py @@ -264,7 +264,7 @@ def chainer_plot(infile, outfile, outformat, args, mcmc_paramset): g.export(outfile+'_elements.'+of) -def bayes_factor_plot(dirname, outfile, outformat, args, xlim): +def bayes_factor_plot(dirname, outfile, outformat, args): """Make Bayes factor plot.""" if not args.plot_bayes: return print "Making Bayes Factor plot" @@ -287,7 +287,7 @@ def bayes_factor_plot(dirname, outfile, outformat, args, xlim): fig = plt.figure(figsize=(7, 5)) ax = fig.add_subplot(111) - ax.set_xlim(xlim) + ax.set_xlim(np.log10(args.scale_region)) ax.set_xlabel(r'${\rm log}_{10} \Lambda ' + get_units(args.dimension) +r'$') ax.set_ylabel(r'Bayes Factor') -- cgit v1.2.3