Skip to content

Commit

Permalink
Fix spelling in captions
Browse files Browse the repository at this point in the history
Co-authored-by: Luigi Pertoldi <[email protected]>
  • Loading branch information
tdixon97 and gipert authored Jan 7, 2025
1 parent d4b55bd commit 122ade4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions tests/confinement/test_confinment_ge.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ def make_plot(vert, hit):
ax[1].axhline(y=0, color="red")
ax[1].grid()
fig.suptitle(f"confinment check for HPGes, p = {100*p:.1e} %")
caption = "The fraction of the vertices found inside each HPge. This is compared to the expectation which is that the number"
caption += "should be proportional to the volume of the HPGe. The top panel shows the fraction in each detector"
caption += "while the lower panel shows the relative difference in \\% from the expectation."
caption = "The fraction of the vertices found inside each HPGe. This is compared to the expectation which is that the number "
caption += "should be proportional to the volume of the HPGe. The top panel shows the fraction in each detector "
caption += r"while the lower panel shows the relative difference in % from the expectation."
plt.figtext(0.1, 0.06, caption, wrap=True, ha="left", fontsize=11)
plt.tight_layout(rect=[0, 0.12, 1, 1])

Expand Down
12 changes: 6 additions & 6 deletions tests/confinement/test_lar_intersection.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@
ax.axis("equal")

# set the caption
caption = "The x-y positions of the vertices for the simulations of the liquid argon inside imaginary mini-shrounds (per string)."
caption += "The vertices should be arrange in cylinders of radius 44 mm around each string. A higher density of points should be found near the edges."
caption = "The x-y positions of the vertices for the simulations of the liquid argon inside imaginary mini-shrouds (per string). "
caption += "The vertices should be arranged in cylinders of radius 44 mm around each string. A higher density of points should be found near the edges."

plt.figtext(0.1, 0.06, caption, wrap=True, ha="left", fontsize=11)
plt.tight_layout(rect=[0, 0.12, 1, 1])
Expand All @@ -147,7 +147,7 @@
plt.tight_layout()

# set the caption
caption = "The x-z positions of the vertices for the simulations of the liquid argon inside imaginary mini-shrounds (per string)."
caption = "The x-z positions of the vertices for the simulations of the liquid argon inside imaginary mini-shrouds (per string). "
caption += "The vertices should be arranged in cylinders (center 50mm and height 400mm) and the regions with HPGe should be visible."

plt.figtext(0.1, 0.06, caption, wrap=True, ha="left", fontsize=11)
Expand Down Expand Up @@ -228,9 +228,9 @@
ax[1].grid()
fig.suptitle(f"Intersection check ({sigma:.1f} $\sigma$)")

caption = "The fraction of the vertices found inside each cylinder. This is compared to the expectation which is that the number"
caption += "should be proportional to the volume of the cylinder minus the total HPGe volume. The top panel shows the fraction in each string"
caption += "while the lower panel shows the relative difference in \\% from the expectation"
caption = "The fraction of the vertices found inside each cylinder. This is compared to the expectation which is that the number "
caption += "should be proportional to the volume of the cylinder minus the total HPGe volume. The top panel shows the fraction in each string "
caption += r"while the lower panel shows the relative difference in % from the expectation"
plt.figtext(0.1, 0.06, caption, wrap=True, ha="left", fontsize=11)
plt.tight_layout(rect=[0, 0.12, 1, 1])

Expand Down
4 changes: 2 additions & 2 deletions tests/confinement/test_lar_subtraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
ax.axis("equal")

# set the caption
caption = "The x-y positions of the vertices for the simulations of the liquid argon outside imaginary mini-shrounds (per string)."
caption = "The x-y positions of the vertices for the simulations of the liquid argon outside imaginary mini-shrouds (per string). "
caption += "The vertices should be excluded from cylinders of radius 44 mm around each string. A higher density of points should be found near the edges."

plt.figtext(0.1, 0.06, caption, wrap=True, ha="left", fontsize=11)
Expand All @@ -65,7 +65,7 @@
plt.tight_layout()

# set the caption
caption = "The x-z positions of the vertices for the simulations of the liquid argon inside imaginary mini-shrounds (per string)."
caption = "The x-z positions of the vertices for the simulations of the liquid argon inside imaginary mini-shrouds (per string). "
caption += (
"The vertices should be excluded from cylinders (center 50mm and height 400mm)"
)
Expand Down

0 comments on commit 122ade4

Please sign in to comment.