Skip to content

Commit

Permalink
Release candidate 1.1.0 (#570)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhuppmann authored Aug 9, 2021
1 parent a5df35a commit 120473f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# Next Release
# Release v1.1.0

## Highlights

- Update pyam-colors to be consistent with IPCC AR6 palette
- Enable `colors` keyword argument as list in `plot.pie()`
- Fix compatibility with pandas v1.3

## API changes

Expand All @@ -7,8 +13,7 @@ the attribute `_LONG_IDX` as deprecated. Please use `dimensions` instead.

## Individual updates

- [#566](https://github.com/IAMconsortium/pyam/pull/566) Updated AR6 default color pallet to final version
used by WG1
- [#566](https://github.com/IAMconsortium/pyam/pull/566) Updated AR6 default color pallet to final version used by WG1
- [#564](https://github.com/IAMconsortium/pyam/pull/564) Add an example with a secondary axis to the plotting gallery
- [#563](https://github.com/IAMconsortium/pyam/pull/563) Enable `colors` keyword argument as list in `plot.pie()`
- [#562](https://github.com/IAMconsortium/pyam/pull/562) Add `get_data_column()`, refactor filtering by the time domain
Expand Down
2 changes: 1 addition & 1 deletion pyam/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def replace_index_values(df, level, mapping, rows=None):
# if duplicate levels exist, re-map the codes
level_mapping = _unique_levels.get_indexer(_levels)
_codes = np.where(index.codes[n] != -1, level_mapping[index.codes[n]], -1)
return index.set_codes(_codes, n).set_levels(_unique_levels, n)
return index.set_codes(_codes, level=n).set_levels(_unique_levels, level=n)


def append_index_col(index, values, name, order=False):
Expand Down

0 comments on commit 120473f

Please sign in to comment.