Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
E
evaluation-orchestrator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
8
Issues
8
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mowgli
evaluation-orchestrator
Commits
c48c85ac
Commit
c48c85ac
authored
Jun 24, 2019
by
Julia Abramenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added argparser argument for file format in which the resulting plots shall be saved
parent
94a99a08
Pipeline
#50757
passed with stage
in 21 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
plotting/timeseries/aggregateTimeseries.py
plotting/timeseries/aggregateTimeseries.py
+4
-4
No files found.
plotting/timeseries/aggregateTimeseries.py
View file @
c48c85ac
...
...
@@ -188,7 +188,7 @@ class TimeSeriesAggregator:
if
self
.
marker_pos_x
is
not
None
:
ax
.
axvline
(
self
.
marker_pos_x
,
color
=
'red'
,
linestyle
=
':'
,
label
=
self
.
label_text
)
# save file under the predetermined directory
output_file
=
os
.
path
.
join
(
self
.
output_path
+
"
\\
throughput-ts
.pdf
"
)
output_file
=
os
.
path
.
join
(
self
.
output_path
+
"
\\
throughput-ts"
)
# draw the standard deviation as area around the mean
mean_t
=
self
.
agg_throughput
[
"Mean"
]
std_t
=
self
.
agg_throughput
[
"Standard Deviation"
]
...
...
@@ -201,7 +201,7 @@ class TimeSeriesAggregator:
# indicating saving process
print
(
"Saving throughput plot to disk: "
+
output_file
)
# store the created picture
plt
.
savefig
(
output_file
,
format
=
self
.
format
)
plt
.
savefig
(
output_file
+
".{}"
.
format
(
self
.
format
)
,
format
=
self
.
format
)
plt
.
close
()
def
plot_latency
(
self
):
...
...
@@ -239,7 +239,7 @@ class TimeSeriesAggregator:
if
self
.
marker_pos_x
is
not
None
:
ax
.
axvline
(
self
.
marker_pos_x
,
color
=
'red'
,
linestyle
=
':'
,
label
=
str
(
self
.
label_text
))
# save file under the predetermined directory
output_file
=
os
.
path
.
join
(
self
.
output_path
+
"
\\
latency-ts
.pdf
"
)
output_file
=
os
.
path
.
join
(
self
.
output_path
+
"
\\
latency-ts"
)
# draw the standard deviation as area around the mean
mean_l
=
self
.
agg_latency
[
"Mean"
]
std_l
=
self
.
agg_latency
[
"Standard Deviation"
]
...
...
@@ -266,7 +266,7 @@ class TimeSeriesAggregator:
# indicating saving process
print
(
"Saving latency plot to disk: "
+
output_file
)
# store the created picture
plt
.
savefig
(
output_file
,
format
=
self
.
format
)
plt
.
savefig
(
output_file
+
".{}"
.
format
(
self
.
format
)
,
format
=
self
.
format
)
# @staticmethod
def
remove_outliers
(
self
,
df_in
,
col_name
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment