Skip to content

Commit

Permalink
Fix Ip / IMP color codes for plotting (#794)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Huppmann <dh@dergelbesalon.at>
  • Loading branch information
byersiiasa and danielhuppmann authored Nov 3, 2023
1 parent 5b2f3b6 commit 3eda7e5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
3 changes: 2 additions & 1 deletion AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ The following persons contributed to the development of the |pyam| package:
- Florian Maczek `@macflo8 <https://github.com/macflo8>`_
- Laura Wienpahl `@LauWien <https://github.com/LauWien>`_
- Philip Hackstock `@phackstock <https://github.com/phackstock>`_
- Pietro Monticone `@pitmonticone <https://github.com/pitmonticone>`_
- Pietro Monticone `@pitmonticone <https://github.com/pitmonticone>`
- Edward Byers `@byersiiasa <https://github.com/byersiiasa>`

| The core maintenance of the |pyam| package is done by
the *Scenario Services & Scientific Software* research theme
Expand Down
3 changes: 3 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Next Release
- [#794](https://github.com/IAMconsortium/pyam/pull/794] Fixed wrong color codes for AR6 Illustrative Pathways

# Release v2.0.0

- [#792](https://github.com/IAMconsortium/pyam/pull/792) Support region-aggregation with weights-index >> data-index
Expand Down
14 changes: 7 additions & 7 deletions pyam/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@
"AR6-C7": "#F18872", # C7: scenarios that limit warming to 4°C (>50%)
"AR6-C8": "#BD7161", # C8: scenarios that exceed 4°C warming (≥50%)
# AR6 Illustrative Mitigation Pathway (IMP)
"AR6-IMP-LD": "#DAA25A", # LD: emphasis on a low demand for resources
"AR6-IMP-Ren": "#EED2AE", # Ren: emphasis on renewables resources
"AR6-IMP-SP": "#F7E7D7", # SP: emphasis on sustainable development
"AR6-IMP-Neg": "#B8BDAA", # Neg: emphasis on deployment of carbon dioxide removal
"AR6-IMP-GS": "#B5B7CA", # GS: less rapid near-term mitigation followed by a gradual strengthening
"AR6-IMP-LD": "#4FA7BF", # LD: emphasis on a low demand for resources
"AR6-IMP-Ren": "#2B7C8B", # Ren: emphasis on renewables resources
"AR6-IMP-SP": "#004D52", # SP: emphasis on sustainable development
"AR6-IMP-Neg": "#84A12B", # Neg: emphasis on deployment of carbon dioxide removal
"AR6-IMP-GS": "#6E7895", # GS: less rapid near-term mitigation followed by a gradual strengthening
# AR6 Illustrative Pathway (IP)
"AR6-IP-ModAct": "#DDB6AB", # pathway with moderate climate action
"AR6-IP-CurPol": "#F9C8B7", # pathway modelling current policies
"AR6-IP-ModAct": "#F29424", # pathway with moderate climate action
"AR6-IP-CurPol": "#E31F2B", # pathway modelling current policies
}


Expand Down
Binary file modified tests/expected_figs/test_line_PYAM_COLORS.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3eda7e5

Please sign in to comment.