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

Show time in title

parent 560163f3
No related branches found
No related tags found
No related merge requests found
...@@ -18,6 +18,7 @@ Options: ...@@ -18,6 +18,7 @@ Options:
""" """
from collections import deque from collections import deque
from datetime import datetime
import time import time
import os import os
import threading import threading
...@@ -73,7 +74,8 @@ class ZenithDistribution(kp.Module): ...@@ -73,7 +74,8 @@ class ZenithDistribution(kp.Module):
label="ROy (last %d events)" % n_roy, label="ROy (last %d events)" % n_roy,
histtype="step", histtype="step",
lw=3) lw=3)
ax.set_title("Zenith distribution of online track reconstructions") ax.set_title("Zenith distribution of online track reconstructions\n%s"
% datetime.utcnow().strftime("%c"))
ax.set_xlabel(r"cos(zenith)", fontsize=fontsize) ax.set_xlabel(r"cos(zenith)", fontsize=fontsize)
ax.set_ylabel("count", fontsize=fontsize) ax.set_ylabel("count", fontsize=fontsize)
ax.tick_params(labelsize=fontsize) ax.tick_params(labelsize=fontsize)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment