1
Fork 0

chore(main.py): deleted redundant main.py, feat(plot.py): added plot file to group all visualization related code for the experiments

This commit is contained in:
Robin Meersman 2026-04-02 15:20:47 +02:00
parent 97eaa5c06b
commit ba59361f97
3 changed files with 15 additions and 10 deletions

11
experiments/plots/plot.py Normal file
View file

@ -0,0 +1,11 @@
import matplotlib.pyplot as plt
def simple_plot(x: list, y: list, show_window: bool = False, filename: str = "plot.png") -> None:
plt.plot(x, y)
plt.savefig(filename)
if show_window:
plt.show()
plt.close()