Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/davidusb-geek/emhass
Browse files Browse the repository at this point in the history
  • Loading branch information
davidusb-geek committed May 30, 2022
2 parents 7e17c51 + ccabc02 commit 09f43bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emhass/web_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_injection_dict(df, plot_size = 1366):
cols_cost = [i for i in df.columns.to_list() if 'cost_' in i or 'unit_' in i]
fig_2 = px.line(df[cols_cost], title='Systems costs obtained from optimization results',
template='plotly_white', width=plot_size, height=0.5*plot_size, line_shape="hv")
fig_0.update_layout(xaxis_title='Tiemstamp', yaxis_title='System costs (currency)')
fig_2.update_layout(xaxis_title='Tiemstamp', yaxis_title='System costs (currency)')
# Get full path to image
image_path_0 = fig_0.to_html(full_html=False, default_width='75%')
if 'SOC_opt' in df.columns.to_list():
Expand Down

0 comments on commit 09f43bb

Please sign in to comment.