mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-06-28 08:56:54 +00:00
Cleanup: Fix violin chart labels, remove debug code (#167)
This commit is contained in:
parent
cdf4d074e2
commit
a0872deede
@ -343,11 +343,11 @@ def visualisiere_ergebnisse(
|
||||
|
||||
# First violin plot for losses
|
||||
axs[0].violinplot(data[0], positions=[1], showmeans=True, showmedians=True)
|
||||
axs[1].set(title="Losses", xticks=[1], xticklabels=["Losses"])
|
||||
axs[0].set(xticks=[1], xticklabels=["Losses"])
|
||||
|
||||
# Second violin plot for balance
|
||||
axs[1].violinplot(data[1], positions=[1], showmeans=True, showmedians=True)
|
||||
axs[1].set(title="Balance", xticks=[1], xticklabels=["Balance"])
|
||||
axs[1].set(xticks=[1], xticklabels=["Balance"])
|
||||
|
||||
# Fine-tuning
|
||||
plt.tight_layout()
|
||||
|
@ -209,12 +209,6 @@ def flask_pvprognose():
|
||||
|
||||
@app.route("/optimize", methods=["POST"])
|
||||
def flask_optimize():
|
||||
with open(
|
||||
"C:\\Users\\drbac\\OneDrive\\Dokumente\\PythonPojects\\EOS\\debug_output.txt",
|
||||
"a",
|
||||
) as f:
|
||||
f.write("Test\n")
|
||||
|
||||
if request.method == "POST":
|
||||
from datetime import datetime
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user