Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Larralde
pyrodigal
Commits
2460bc1a
Commit
2460bc1a
authored
Feb 25, 2022
by
Martin Larralde
Browse files
Render text as curves in SVG figures
parent
9dff0c75
Changes
2
Hide whitespace changes
Inline
Side-by-side
benches/connection_scoring/plot.py
View file @
2460bc1a
...
...
@@ -10,8 +10,6 @@ import matplotlib.pyplot as plt
import
scipy.stats
from
palettable.cartocolors.qualitative
import
Bold_4
plt
.
rcParams
[
"svg.fonttype"
]
=
"none"
parser
=
argparse
.
ArgumentParser
()
parser
.
add_argument
(
"-i"
,
"--input"
,
required
=
True
)
...
...
@@ -66,6 +64,7 @@ plt.xlabel("Nucleotide count (Mbp)")
plt
.
ylabel
(
"Time (s)"
)
plt
.
tight_layout
()
output
=
args
.
output
or
args
.
input
.
replace
(
".json"
,
".svg"
)
plt
.
savefig
(
output
,
transparent
=
True
)
if
args
.
show
:
...
...
benches/connection_scoring/v0.6.4.svg
View file @
2460bc1a
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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