Skip to content

Commit

Permalink
Merge pull request #175 from empowerplan/fix/choropleth_energy_share
Browse files Browse the repository at this point in the history
Fix choropleth for energy_share_2045
  • Loading branch information
nesnoj authored Dec 2, 2024
2 parents ccfd077 + 7bc18c9 commit 3fb0c09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion digiplan/map/choropleths.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def get_fill_color(self, values: dict[int, float]) -> dict: # noqa: ARG002
return [
"interpolate",
["linear"],
["feature-state", "energy_share_statusquo"],
["feature-state", "energy_share_2045"],
0.0,
"rgb(255, 255, 204)",
20.0,
Expand Down
2 changes: 1 addition & 1 deletion digiplan/templates/components/panel_5_results.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h2 class="panel-item__heading panel-item__heading--nopadding">
<optgroup label="{% translate "Renewable Energies (RE)" %}">
<option value="energy_share_2045"
title="{% translate "Annual balance sheet share of renewable energy (wind energy, photovoltaic, hydroelectric power) in the electricity demand of the sectors agriculture, GHG (trade, commerce, services), households and industry in percent. The demand is the net electricity consumption, i.e. transmission losses and power plant consumption are not taken into account. 49.7% of the electricity demand in Germany was covered by renewable energies in 2022." %}">
{% translate "Renewable Energy Share of Demand (%)" %}
{% translate "Renewable Energy Share of Demand" %} (%)
</option>
<option value="energy_2045"
title="{% translate "Annual amount of energy fed into the grid from renewable plants in gigawatt hours (wind energy, photovoltaic, hydro power)." %}">
Expand Down

0 comments on commit 3fb0c09

Please sign in to comment.