only one graph
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Wolfgang Hottgenroth 2025-01-28 13:54:11 +01:00
parent 812989df47
commit aaa23a9839

View File

@ -55,7 +55,6 @@ def index():
yaxis=dict(ticksuffix=" kWh")
)
graph_html = fig.to_html(full_html=False)
graph_html_2 = fig.to_html(full_html=False)
return render_template_string(f"""
<html>
@ -64,7 +63,6 @@ def index():
</head>
<body>
{graph_html}
{graph_html_2}
</body>
</html>
""")