Skip to content

Commit

Permalink
plots: Fix graph plot titles
Browse files Browse the repository at this point in the history
  • Loading branch information
stroitzsch committed Nov 1, 2023
1 parent f954a9a commit d262e28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mesmo/plots/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def electric_grid_node_voltage_nominal(figure: go.Figure, results: data_models.R
_plot_electric_transformer_layout(figure, results, graph)
_plot_electric_nodes_nominal_voltage(figure, results, graph)

title = "Electric grid asset layout"
title = "Electric grid nominal voltage"
legend_title = constants.ValueLabels.ASSETS
figure.update_layout(
title=title,
Expand All @@ -265,7 +265,7 @@ def electric_grid_node_voltage_magnitude_min(figure: go.Figure, results: data_mo
_plot_electric_transformer_layout(figure, results, graph)
_plot_electric_nodes_min_voltage(figure, results, graph)

title = "Electric grid asset layout"
title = "Electric grid voltage magnitude (aggregated minimum)"
legend_title = constants.ValueLabels.ASSETS
figure.update_layout(
title=title,
Expand Down

0 comments on commit d262e28

Please sign in to comment.