diff --git a/simulations/11_pulsed_timing.py b/simulations/11_pulsed_timing.py index ef3bb40..9e346f3 100755 --- a/simulations/11_pulsed_timing.py +++ b/simulations/11_pulsed_timing.py @@ -656,6 +656,11 @@ if __name__ == "__main__": if True: # limit y-axis to 1e1 ax.set_ylim([None, 1e1]) + if True: # require y-axis lower limit to be at least 1e-1 + low_ylims = ax.get_ylim()[0] + if low_ylims >= 1e-1: + ax.set_ylim([1e-1, None]) + fig.tight_layout() if len(template_dts) == 1: fig.savefig(f"figures/11_time_res_vs_snr_tdt{template_dt:0.1e}.pdf")