Loading src/lsst_inaf_agile/zou2024.py +6 −3 Original line number Diff line number Diff line Loading @@ -575,10 +575,10 @@ def test_extrapolation_accuracy(): lvec = np.linspace(31.0, 35.0, 401) zs = 0.5, 1.5, 2.5, 3.5, 4.0, 5.5 fig, axes = plt.subplots(2, 3, dpi=300, sharex=True, sharey=True) fig, axes = plt.subplots(2, 3, figsize=(1.4 * 8.27, 5.845), dpi=300, sharex=True, sharey=True) for i, ax in enumerate(axes.flatten()): z = zs[i] ax.text(0.90, 0.90, f"{z=}", transform=ax.transAxes, ha="right", va="top") ax.text(0.90, 0.90, f"${z=}$", transform=ax.transAxes, ha="right", va="top") for log_mstar in 9.5, 9.0, 8.5: ls = "solid" is_extra = (log_mstar < 9.5) | (z > 4.0) Loading @@ -597,7 +597,10 @@ def test_extrapolation_accuracy(): axes[0, 0].legend(loc="lower left", frameon=True) fig.tight_layout() fig.savefig("fig/test_zou_extrapolation_accuracy.pdf", bbox_inches="tight") filename = "overleaf/fig/test_zou_extrapolation_accuracy.pdf" fig.savefig(filename, bbox_inches="tight") print("wrote", filename) if __name__ == "__main__": Loading Loading
src/lsst_inaf_agile/zou2024.py +6 −3 Original line number Diff line number Diff line Loading @@ -575,10 +575,10 @@ def test_extrapolation_accuracy(): lvec = np.linspace(31.0, 35.0, 401) zs = 0.5, 1.5, 2.5, 3.5, 4.0, 5.5 fig, axes = plt.subplots(2, 3, dpi=300, sharex=True, sharey=True) fig, axes = plt.subplots(2, 3, figsize=(1.4 * 8.27, 5.845), dpi=300, sharex=True, sharey=True) for i, ax in enumerate(axes.flatten()): z = zs[i] ax.text(0.90, 0.90, f"{z=}", transform=ax.transAxes, ha="right", va="top") ax.text(0.90, 0.90, f"${z=}$", transform=ax.transAxes, ha="right", va="top") for log_mstar in 9.5, 9.0, 8.5: ls = "solid" is_extra = (log_mstar < 9.5) | (z > 4.0) Loading @@ -597,7 +597,10 @@ def test_extrapolation_accuracy(): axes[0, 0].legend(loc="lower left", frameon=True) fig.tight_layout() fig.savefig("fig/test_zou_extrapolation_accuracy.pdf", bbox_inches="tight") filename = "overleaf/fig/test_zou_extrapolation_accuracy.pdf" fig.savefig(filename, bbox_inches="tight") print("wrote", filename) if __name__ == "__main__": Loading