Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.pad.base
Commits
9c541ee5
Commit
9c541ee5
authored
Aug 27, 2018
by
Amir MOHAMMADI
Browse files
Fix colors of IAPMR
parent
f322e5d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/pad/base/script/vuln_figure.py
View file @
9c541ee5
...
...
@@ -93,9 +93,9 @@ class HistVuln(measure_figure.Hist):
int
(
idx
/
self
.
_step_print
)
*
self
.
_step_print
if
col
==
self
.
_ncols
-
1
or
n
==
rest_print
-
1
:
ax2
.
set_ylabel
(
"IAPMR (%)"
,
color
=
'C3'
)
ax2
.
tick_params
(
axis
=
'y'
,
colors
=
'
red
'
)
ax2
.
yaxis
.
label
.
set_color
(
'
red
'
)
ax2
.
spines
[
'right'
].
set_color
(
'
red
'
)
ax2
.
tick_params
(
axis
=
'y'
,
colors
=
'
C3
'
)
ax2
.
yaxis
.
label
.
set_color
(
'
C3
'
)
ax2
.
spines
[
'right'
].
set_color
(
'
C3
'
)
class
VulnPlot
(
measure_figure
.
PlotBase
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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