Commit 2460bc1a authored by Martin Larralde's avatar Martin Larralde
Browse files

Render text as curves in SVG figures

parent 9dff0c75
......@@ -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)")
output = args.output or args.input.replace(".json", ".svg")
plt.savefig(output, transparent=True)
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment