From 2417a6b7603524dc5cd30d29b153f91024b9443d Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Wed, 1 Nov 2023 22:54:27 +0100 Subject: Move to Jekyll --- static/posts/dna-sequence/chart-speed.py | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 static/posts/dna-sequence/chart-speed.py (limited to 'static/posts/dna-sequence/chart-speed.py') diff --git a/static/posts/dna-sequence/chart-speed.py b/static/posts/dna-sequence/chart-speed.py deleted file mode 100644 index c07b057..0000000 --- a/static/posts/dna-sequence/chart-speed.py +++ /dev/null @@ -1,23 +0,0 @@ -import csv - -import matplotlib.pyplot as plt -import pandas as pd - -# Read the data -df = pd.read_csv("benchmarks.csv") - -# Settings -plt.title("Encode to FASTA speed over time") -plt.tight_layout(pad=2) -fig = plt.gcf() -fig.set_size_inches(10, 4) - -# Plotting -plt.plot(df["Packages"], df["Encode to FASTA (ms)"], label = "ALB", color="black", linestyle="--") - -# Adding x and y axis labels -plt.xlabel("Size of an input file", fontstyle="italic") -plt.ylabel("Encoding time (ms)", fontstyle="italic") - -# Export as SVG -plt.savefig("chart-speed.svg", format="svg") -- cgit v1.2.3