Skip to content

Commit 44f0dff

Browse files
committed
linting
1 parent d2b5e00 commit 44f0dff

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

benchmarks/cacciato_validation/ds_validation.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,12 @@ def getnparr(r,n):
199199
plt.yscale("log")
200200
plt.xscale("log")
201201
plt.grid(True, ls='--', alpha=0.5)
202-
ax.legend(fontsize=10, frameon=False, title=r"%s: $M_r-5\log h \in [%0.1f, %0.1f]$"%(lumbin, magfaint,magbright) + "\n" + rf"$z_l={z_lens:.2f}$")
202+
ax.legend(
203+
fontsize=10,
204+
frameon=False,
205+
title=rf"{lumbin}: $M_r-5\log h \in [{magfaint:0.1f}, {magbright:0.1f}]$"\
206+
+ "\n" + rf"$z_l={z_lens:.2f}$"
207+
)
203208
xlabel = r"$R \, \left[h^{-1}{\rm Mpc}\right]$"
204209
ylabel = r"$\Delta\Sigma(R)\ [h {\rm M_\odot {pc}^{-2}}]$"
205210
ax.set_xlabel(xlabel)

0 commit comments

Comments
 (0)