Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
manuscrit
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alice Brenon
manuscrit
Commits
54d99262
Commit
54d99262
authored
3 months ago
by
Alice Brenon
Browse files
Options
Downloads
Patches
Plain Diff
Rename main function accordingly
parent
7b7e67ff
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
visualisation/BivariateSpecificity.py
+2
-2
2 additions, 2 deletions
visualisation/BivariateSpecificity.py
with
2 additions
and
2 deletions
visualisation/BivariateSpecificity.py
+
2
−
2
View file @
54d99262
...
@@ -6,7 +6,7 @@ import matplotlib.pyplot as plot
...
@@ -6,7 +6,7 @@ import matplotlib.pyplot as plot
import
seaborn
import
seaborn
import
sys
import
sys
def
s
pecificity
2D
(
inputTSV
,
outputPNG
):
def
bivariateS
pecificity
(
inputTSV
,
outputPNG
):
specificities
=
tabular
(
inputTSV
)
specificities
=
tabular
(
inputTSV
)
ax
=
seaborn
.
catplot
(
ax
=
seaborn
.
catplot
(
data
=
specificities
,
x
=
'
auteur
'
,
y
=
'
Specificité
'
,
col
=
'
domaine
'
,
data
=
specificities
,
x
=
'
auteur
'
,
y
=
'
Specificité
'
,
col
=
'
domaine
'
,
...
@@ -21,4 +21,4 @@ def specificity2D(inputTSV, outputPNG):
...
@@ -21,4 +21,4 @@ def specificity2D(inputTSV, outputPNG):
plot
.
savefig
(
outputPNG
,
dpi
=
300
,
bbox_inches
=
'
tight
'
)
plot
.
savefig
(
outputPNG
,
dpi
=
300
,
bbox_inches
=
'
tight
'
)
if
__name__
==
'
__main__
'
:
if
__name__
==
'
__main__
'
:
s
pecificity
2D
(
*
sys
.
argv
[
1
:])
bivariateS
pecificity
(
*
sys
.
argv
[
1
:])
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment