Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Packages
chemical_checker
Commits
3af24250
Commit
3af24250
authored
Nov 30, 2021
by
Martina Locatelli
🍁
Browse files
Removing default numeral markers for across_coverage plot
parent
58a966c4
Pipeline
#2580
passed with stages
in 19 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
package/chemicalchecker/util/plot/diagnosticsplot.py
View file @
3af24250
...
...
@@ -466,7 +466,7 @@ class DiagnosisPlot(object):
# @safe_return(None)
def
across_coverage
(
self
,
results
=
None
,
ax
=
None
,
title
=
None
,
exemplary
=
True
,
cctype
=
"sign1"
,
molset
=
"full"
,
vs
=
True
):
cctype
=
"sign1"
,
molset
=
"full"
,
vs
=
True
,
numeral_marker
=
False
):
if
results
is
None
:
results
=
self
.
load_diagnosis_pickle
(
"across_coverage.pkl"
)
datasets
=
[]
...
...
@@ -479,7 +479,8 @@ class DiagnosisPlot(object):
datasets
+=
[
k
]
covs
+=
[
v
[
"%s_overlap"
%
pref
]]
ax
=
self
.
_across
(
covs
,
datasets
,
ax
=
ax
,
title
=
title
,
exemplary
=
exemplary
,
cctype
=
cctype
,
molset
=
molset
)
exemplary
=
exemplary
,
cctype
=
cctype
,
molset
=
molset
,
numeral_marker
=
numeral_marker
)
ax
.
set_ylabel
(
"Coverage"
)
if
vs
:
ax
.
set_ylim
(
-
np
.
max
(
covs
)
*
0.05
,
...
...
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