diff --git a/examples/glitch_examples/semicoherent_glitch_robust_directed_MCMC_search_on_1_glitch.py b/examples/glitch_examples/semicoherent_glitch_robust_directed_MCMC_search_on_1_glitch.py index 4935698ce9851f02c63f2e636a14423e8a1318a9..15114e0ce45365808531e68be83f2c7728783438 100644 --- a/examples/glitch_examples/semicoherent_glitch_robust_directed_MCMC_search_on_1_glitch.py +++ b/examples/glitch_examples/semicoherent_glitch_robust_directed_MCMC_search_on_1_glitch.py @@ -47,5 +47,5 @@ mcmc.transform_dictionary['F1'] = dict( subtractor=F1, symbol='$\dot{f}-\dot{f}^\mathrm{s}$') mcmc.run() -mcmc.plot_corner() +mcmc.plot_corner(label_offset=0.15) mcmc.print_summary() diff --git a/pyfstat/mcmc_based_searches.py b/pyfstat/mcmc_based_searches.py index 550d8c46dc875539cc06db3b88ad21043649a5d1..aa3e75de674093ffbbb3a0d665baae3c8ca94d9d 100644 --- a/pyfstat/mcmc_based_searches.py +++ b/pyfstat/mcmc_based_searches.py @@ -743,7 +743,7 @@ class MCMCSearch(core.BaseSearchClass): max_n_ticks=4, plot_contours=True, plot_datapoints=True, - label_kwargs={'fontsize': 8}, + label_kwargs={'fontsize': 12}, data_kwargs={'alpha': 0.1, 'ms': 0.5}, range=_range, @@ -760,6 +760,14 @@ class MCMCSearch(core.BaseSearchClass): for ax in axes_list: ax.set_rasterized(True) ax.set_rasterization_zorder(-10) + + for tick in ax.xaxis.get_major_ticks(): + tick.label.set_fontsize(8) + tick.label.set_rotation('horizontal') + for tick in ax.yaxis.get_major_ticks(): + tick.label.set_fontsize(8) + tick.label.set_rotation('vertical') + plt.tight_layout(h_pad=0.0, w_pad=0.0) fig.subplots_adjust(hspace=0.05, wspace=0.05)