Tidy up
This commit is contained in:
@@ -17,6 +17,7 @@ params = {
|
||||
}
|
||||
plt.rcParams.update(params)
|
||||
|
||||
|
||||
def plot_timing(indir, outdir):
|
||||
if not (path := Path(outdir)).exists():
|
||||
makedirs(path)
|
||||
@@ -25,14 +26,10 @@ def plot_timing(indir, outdir):
|
||||
"lattice_sizes.txt",
|
||||
"sample_sizes.txt",
|
||||
]
|
||||
labels = [
|
||||
"Lattice sizes",
|
||||
"Sample sizes",
|
||||
]
|
||||
xlabels = ["Lattice size", "Sampling size"]
|
||||
outfiles = ["lattice_size.pdf", "sample_sizes.pdf"]
|
||||
|
||||
for file, label, xlabel, outfile in zip(files, labels, xlabels, outfiles):
|
||||
for file, xlabel, outfile in zip(files, xlabels, outfiles):
|
||||
figure1, ax1 = plt.subplots()
|
||||
x = []
|
||||
parallel = []
|
||||
|
||||
Reference in New Issue
Block a user