From 55fc8889fa985012b2e6181e033716269d88e560 Mon Sep 17 00:00:00 2001 From: "gregory.ashton" <gregory.ashton@ligo.org> Date: Wed, 31 May 2017 22:39:44 +0200 Subject: [PATCH] Fix xlabels of walkers --- pyfstat/mcmc_based_searches.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyfstat/mcmc_based_searches.py b/pyfstat/mcmc_based_searches.py index 34c7d01..c0c5d94 100644 --- a/pyfstat/mcmc_based_searches.py +++ b/pyfstat/mcmc_based_searches.py @@ -939,6 +939,8 @@ class MCMCSearch(core.BaseSearchClass): if symbols: axes[0].set_ylabel(symbols[0], labelpad=labelpad) + axes[-1].set_xlabel(r'$\textrm{Number of steps}$', labelpad=0.2) + if plot_det_stat: if len(axes) == ndim: axes.append(fig.add_subplot(ndim+1, 1, ndim+1)) @@ -979,7 +981,6 @@ class MCMCSearch(core.BaseSearchClass): xfmt.set_powerlimits((-4, 4)) axes[-1].xaxis.set_major_formatter(xfmt) - axes[-2].set_xlabel(r'$\textrm{Number of steps}$', labelpad=0.2) return fig, axes def _apply_corrections_to_p0(self, p0): -- GitLab