Skip to content
Snippets Groups Projects
Commit 21cc2064 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Fix ticks

parent 9ac01de8
No related branches found
No related tags found
No related merge requests found
...@@ -114,7 +114,7 @@ class DOMHits(Module): ...@@ -114,7 +114,7 @@ class DOMHits(Module):
origin='lower', origin='lower',
zorder=3, zorder=3,
norm=LogNorm(vmin=1, vmax=np.amax(hit_matrix))) norm=LogNorm(vmin=1, vmax=np.amax(hit_matrix)))
yticks = np.arange(self.det.n_doms * self.det.n_dus) yticks = np.arange(self.det.n_doms)
ytick_labels = ["DU{0:0.0f}-DOM{1:02d}" ytick_labels = ["DU{0:0.0f}-DOM{1:02d}"
.format(np.ceil((y+1)/self.det.n_doms), .format(np.ceil((y+1)/self.det.n_doms),
y % (self.det.n_doms) + 1) \ y % (self.det.n_doms) + 1) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment