Skip to content

Commit 57deff0

Browse files
committed
Fix: fix PilotMonitoringPlotter
1 parent d019813 commit 57deff0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/DIRAC/MonitoringSystem/private/Plotters/PilotMonitoringPlotter.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def reportNumSucceeded(self, reportRequest):
8686
dataDict, granularity = retVal["Value"]
8787
return S_OK({"data": dataDict, "granularity": granularity})
8888

89-
def _plotNumberOfJobs(self, reportRequest, plotInfo, filename):
89+
def _plotNumSucceeded(self, reportRequest, plotInfo, filename):
9090
"""It creates the plot.
9191
9292
:param dict reportRequest: plot attributes
@@ -95,12 +95,12 @@ def _plotNumberOfJobs(self, reportRequest, plotInfo, filename):
9595
:return: S_OK or S_ERROR { 'plot' : value1, 'thumbnail' : value2 } value1 and value2 are TRUE/FALSE
9696
"""
9797
metadata = {
98-
"title": "Jobs by %s" % reportRequest["grouping"],
98+
"title": "Submissions by %s" % reportRequest["grouping"],
9999
"starttime": reportRequest["startTime"],
100100
"endtime": reportRequest["endTime"],
101101
"span": plotInfo["granularity"],
102102
"skipEdgeColor": True,
103-
"ylabel": "jobs",
103+
"ylabel": "submissions",
104104
}
105105

106106
plotInfo["data"] = self._fillWithZero(

0 commit comments

Comments
 (0)