Skip to content

Commit

Permalink
Bugfix relative loading scale and dashplot (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
birgits authored Sep 13, 2022
1 parent de48e8e commit 9fae3ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions edisgo/tools/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -1220,7 +1220,7 @@ def plot_lines():
loading = s_res.loc[branch_name]
s_nom = edisgo_obj.topology.lines_df.s_nom.loc[branch_name]
color = color_map_color(
loading / s_nom,
loading / s_nom * 0.9,
vmin=color_min,
vmax=color_max,
cmap_name=colorscale,
Expand Down Expand Up @@ -2085,7 +2085,7 @@ def update_figure_single(
].index
selected_timesteps = list(map(str, selected_timesteps))
elif timestep_mode == "All":
selected_timesteps = False
selected_timesteps = None

app.logger.debug(f"selected_timesteps={selected_timesteps}")

Expand Down

0 comments on commit 9fae3ea

Please sign in to comment.