Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ https://semver.org/spec/v2.0.0.html

### Fixed
- Fix Cython extension to use `noexcept` (PR [#615] by @cvanelteren).
- Fix incorrect return order described in `Basemap.shiftdata` docstring
(PR [#624] by @Cdiaz1234, solves issue [#599]).

### Removed
- Deprecated `bdist_wheel.universal` option when building wheels.
Expand Down Expand Up @@ -1157,6 +1159,8 @@ https://semver.org/spec/v2.0.0.html
- Fix glitches in drawing of parallels and meridians.


[#624]:
https://github.com/matplotlib/basemap/pull/624
[#623]:
https://github.com/matplotlib/basemap/pull/623
[#622]:
Expand All @@ -1177,6 +1181,8 @@ https://github.com/matplotlib/basemap/pull/614
https://github.com/matplotlib/basemap/issues/608
[#604]:
https://github.com/matplotlib/basemap/issues/604
[#599]:
https://github.com/matplotlib/basemap/issues/599
[#598]:
https://github.com/matplotlib/basemap/pull/598
[#595]:
Expand Down
9 changes: 5 additions & 4 deletions packages/basemap/src/mpl_toolkits/basemap/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4836,10 +4836,11 @@ def shiftdata(self,lonsin,datain=None,lon_0=None,fix_wrap_around=True):
[lon_0-180, lon_0+180] range.
================ ======================================================

if datain given, returns ``dataout,lonsout`` (data and longitudes shifted to fit in interval
[lon_0-180,lon_0+180]), otherwise just returns longitudes. If
transformed longitudes lie outside map projection region, data is
masked and longitudes are set to 1.e30.
If datain is given, returns ``lonsout, dataout`` (longitudes and data
shifted to fit in the interval [lon_0-180, lon_0+180]); otherwise,
returns just the shifted longitudes. If transformed longitudes lie
outside the map projection region, data is masked and longitudes are
set to 1.e30.
"""
if lon_0 is None and 'lon_0' not in self.projparams:
raise ValueError('lon_0 keyword must be provided')
Expand Down