Skip to content

Commit 938ce8e

Browse files
authored
update links to mpytools org (#148)
1 parent 53d1d1b commit 938ce8e

File tree

4 files changed

+37
-37
lines changed

4 files changed

+37
-37
lines changed

CHANGELOG.md

+33-33
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
### Breaking changes
66

7-
- Removed support for python 3.9 ([#130](https://github.com/mathause/mplotutils/pull/130)).
8-
- The minimum versions of some dependencies were changed ([#132](https://github.com/mathause/mplotutils/pull/132)).
7+
- Removed support for python 3.9 ([#130](https://github.com/mpytools/mplotutils/pull/130)).
8+
- The minimum versions of some dependencies were changed ([#132](https://github.com/mpytools/mplotutils/pull/132)).
99

1010
| Package | Old | New |
1111
| ----------- | ------ | ------- |
@@ -17,7 +17,7 @@
1717

1818
- The modules ``cartopy_utils``, ``colormaps``, ``map_layout``, ``mpl``, and ``xrcompat``
1919
were renamed (added a leading underscore) to indicate that they are private
20-
([#141](https://github.com/mathause/mplotutils/pull/141) and [#142](https://github.com/mathause/mplotutils/pull/142)).
20+
([#141](https://github.com/mpytools/mplotutils/pull/141) and [#142](https://github.com/mpytools/mplotutils/pull/142)).
2121

2222
### Enhancements
2323

@@ -28,30 +28,30 @@
2828
3. `mpu.hatch_map_global`: as 2. but also adds a cyclic point to the array
2929

3030
all three functions expect a 2D boolean `xr.DataArray` and a hatch pattern. Values that are `True` are hatched
31-
([#123](https://github.com/mathause/mplotutils/pull/123) and [#143](https://github.com/mathause/mplotutils/pull/143)).
31+
([#123](https://github.com/mpytools/mplotutils/pull/123) and [#143](https://github.com/mpytools/mplotutils/pull/143)).
3232

3333

34-
- Enable passing `AxesGrid` (from `mpl_toolkits.axes_grid1`) to `set_map_layout` ([#116](https://github.com/mathause/mplotutils/pull/116)).
35-
- Raise more informative error when a wrong type is passed to `set_map_layout` ([#121](https://github.com/mathause/mplotutils/pull/121)).
36-
- `set_map_layout` now raises an explicit error when the figure contains SubFigure ([#121](https://github.com/mathause/mplotutils/pull/121)).
37-
- Test upstream dependencies and fix compatibility with the upcoming pandas v3 ([#133](https://github.com/mathause/mplotutils/pull/133)).
34+
- Enable passing `AxesGrid` (from `mpl_toolkits.axes_grid1`) to `set_map_layout` ([#116](https://github.com/mpytools/mplotutils/pull/116)).
35+
- Raise more informative error when a wrong type is passed to `set_map_layout` ([#121](https://github.com/mpytools/mplotutils/pull/121)).
36+
- `set_map_layout` now raises an explicit error when the figure contains SubFigure ([#121](https://github.com/mpytools/mplotutils/pull/121)).
37+
- Test upstream dependencies and fix compatibility with the upcoming pandas v3 ([#133](https://github.com/mpytools/mplotutils/pull/133)).
3838

3939
### Bug fixes
4040

41-
- Ensure the current axes (`plt.gca()`) is not changed by calling `mpu.colorbar(...)` ([#136](https://github.com/mathause/mplotutils/pull/136)).
41+
- Ensure the current axes (`plt.gca()`) is not changed by calling `mpu.colorbar(...)` ([#136](https://github.com/mpytools/mplotutils/pull/136)).
4242

4343
### Internal changes
4444

4545
- Align internal usage of `ListedColormaps` with changes in [matplotlib/matplotlib#29135](https://github.com/matplotlib/matplotlib/pull/29135)
46-
([#145](https://github.com/mathause/mplotutils/pull/145), and [#147](https://github.com/mathause/mplotutils/pull/147)).
46+
([#145](https://github.com/mpytools/mplotutils/pull/145), and [#147](https://github.com/mpytools/mplotutils/pull/147)).
4747

4848
## v0.5.0 (27.03.2024)
4949

5050
Version v0.5.0 aligns passing multiple axes to `colorbar` with matplotlib.
5151

5252
### Breaking changes
5353

54-
- The `ax1` and `ax2` arguments of `mpu.colorbar` have been combined into `ax` ([#107](https://github.com/mathause/mplotutils/pull/107))
54+
- The `ax1` and `ax2` arguments of `mpu.colorbar` have been combined into `ax` ([#107](https://github.com/mpytools/mplotutils/pull/107))
5555
To update
5656

5757
```diff
@@ -63,8 +63,8 @@ Version v0.5.0 aligns passing multiple axes to `colorbar` with matplotlib.
6363
- mpu.colorbar(h, axs[0], axs[1])
6464
+ mpu.colorbar(h, axs)
6565
```
66-
- When passing `size` to `mpu.colorbar` it now uses the height/ width of _all_ passed axes to scale the colorbar. This is consistent with `plt.colorbar` but may lead to differences compared to the previous version ([#107](https://github.com/mathause/mplotutils/pull/107)).
67-
- Similarly for `pad`, which is also scaled by the height/ width of _all_ passed axes. This is consistent with `plt.colorbar` but may change the padding of the colorbar compared to the previous version ([#107](https://github.com/mathause/mplotutils/pull/107)).
66+
- When passing `size` to `mpu.colorbar` it now uses the height/ width of _all_ passed axes to scale the colorbar. This is consistent with `plt.colorbar` but may lead to differences compared to the previous version ([#107](https://github.com/mpytools/mplotutils/pull/107)).
67+
- Similarly for `pad`, which is also scaled by the height/ width of _all_ passed axes. This is consistent with `plt.colorbar` but may change the padding of the colorbar compared to the previous version ([#107](https://github.com/mpytools/mplotutils/pull/107)).
6868

6969

7070
## v0.4.0 (23.02.2024)
@@ -74,8 +74,8 @@ bumps the supported versions.
7474

7575
### Breaking changes
7676

77-
- Removed support for python 3.7 and python 3.8 ([#88](https://github.com/mathause/mplotutils/pull/88)).
78-
- The minimum versions of some dependencies were changed ([#88](https://github.com/mathause/mplotutils/pull/88), [#91](https://github.com/mathause/mplotutils/pull/91), and [#96](https://github.com/mathause/mplotutils/pull/96)).
77+
- Removed support for python 3.7 and python 3.8 ([#88](https://github.com/mpytools/mplotutils/pull/88)).
78+
- The minimum versions of some dependencies were changed ([#88](https://github.com/mpytools/mplotutils/pull/88), [#91](https://github.com/mpytools/mplotutils/pull/91), and [#96](https://github.com/mpytools/mplotutils/pull/96)).
7979

8080
| Package | Old | New |
8181
| ------------ | ----- | ----- |
@@ -87,13 +87,13 @@ bumps the supported versions.
8787

8888

8989
- `sample_data_map` now offsets the lon data such that the first grid cell does not wrap
90-
around ([#87](https://github.com/mathause/mplotutils/pull/87)).
90+
around ([#87](https://github.com/mpytools/mplotutils/pull/87)).
9191

9292
### Enhancements
9393

9494
- Calling `f.canvas.draw()` before `plt.savefig` is no longer necessary. This now happens
95-
automatically ([#98](https://github.com/mathause/mplotutils/pull/98)).
96-
- Add python 3.12 to list of supported versions ([#89](https://github.com/mathause/mplotutils/pull/89)).
95+
automatically ([#98](https://github.com/mpytools/mplotutils/pull/98)).
96+
- Add python 3.12 to list of supported versions ([#89](https://github.com/mpytools/mplotutils/pull/89)).
9797

9898
## v0.3.1 (09.02.2023)
9999

@@ -102,47 +102,47 @@ Version v0.3.1 fixes a regression and an additional bug from v0.3.0. It's recomm
102102
### Bug fixes
103103

104104
- Fixed a bug in `set_map_layout`: the data ratio of a cartopy `GeoAxesSubplot` requires
105-
a `draw` to be correct ([#61](https://github.com/mathause/mplotutils/pull/61)).
106-
- Fix a regression introduced in [#33](https://github.com/mathause/mplotutils/pull/33):
105+
a `draw` to be correct ([#61](https://github.com/mpytools/mplotutils/pull/61)).
106+
- Fix a regression introduced in [#33](https://github.com/mpytools/mplotutils/pull/33):
107107
`cyclic_dataarray` now correctly extrapolates the coordinates
108-
([#58](https://github.com/mathause/mplotutils/pull/58)).
108+
([#58](https://github.com/mpytools/mplotutils/pull/58)).
109109

110110

111111
## v0.3.0 (15.01.2023)
112112

113113
Version 0.3.0 includes some long-overdue bug fixes, modernization of the code, much better
114114
test coverage and some enhancements.
115115

116-
mplotutils now uses the MIT license instead of GPL-3.0 ([#51](https://github.com/mathause/mplotutils/pull/51))
116+
mplotutils now uses the MIT license instead of GPL-3.0 ([#51](https://github.com/mpytools/mplotutils/pull/51))
117117

118118
### Deprecations
119119

120120
* Deprecated `mpu.infer_interval_breaks` as this is no longer necessary with matplotlib v3.2
121-
and cartopy v0.21 ([#32](https://github.com/mathause/mplotutils/pull/32)).
121+
and cartopy v0.21 ([#32](https://github.com/mpytools/mplotutils/pull/32)).
122122
* Deprecated a number of positional arguments, these are now keyword only, e.g. in
123-
`mpu.colorbar` ([#54](https://github.com/mathause/mplotutils/pull/54)).
123+
`mpu.colorbar` ([#54](https://github.com/mpytools/mplotutils/pull/54)).
124124

125125
### Enhancements
126126

127127
* Added ``nrow`` and ``ncol`` parameters to ``set_map_layout`` for use with a
128128
gridspec.
129129
* Allow passing list of axes to ``set_map_layout``, renamed the files and extended
130-
the test coverage ([#42](https://github.com/mathause/mplotutils/pull/42)
131-
and [#43](https://github.com/mathause/mplotutils/pull/43)).
132-
* Add function to create `xr.DataArray` sample data ([#53](https://github.com/mathause/mplotutils/pull/53)).
130+
the test coverage ([#42](https://github.com/mpytools/mplotutils/pull/42)
131+
and [#43](https://github.com/mpytools/mplotutils/pull/43)).
132+
* Add function to create `xr.DataArray` sample data ([#53](https://github.com/mpytools/mplotutils/pull/53)).
133133

134134
### Bug fixes
135135

136136
* Fixed compatibility of `mpu.colorbar` with `bbox_inches="tight"` for matplotlib 3.4 and
137-
newer and refactor and extend tests ([#26](https://github.com/mathause/mplotutils/pull/26)
138-
and [#40](https://github.com/mathause/mplotutils/pull/40)).
137+
newer and refactor and extend tests ([#26](https://github.com/mpytools/mplotutils/pull/26)
138+
and [#40](https://github.com/mpytools/mplotutils/pull/40)).
139139

140140
### Internal changes
141141

142142
* Replaced `ax.get_geometry()` with `ax.get_subplotspec().get_geometry()`
143-
as the former was deprecated in matplotlib ([#8](https://github.com/mathause/mplotutils/pull/8)).
144-
* Refactor `mpu.cyclic_dataarray` using `obj.pad` ([#33](https://github.com/mathause/mplotutils/pull/33)).
145-
* Enabled CI on github actions ([#9](https://github.com/mathause/mplotutils/pull/9)).
143+
as the former was deprecated in matplotlib ([#8](https://github.com/mpytools/mplotutils/pull/8)).
144+
* Refactor `mpu.cyclic_dataarray` using `obj.pad` ([#33](https://github.com/mpytools/mplotutils/pull/33)).
145+
* Enabled CI on github actions ([#9](https://github.com/mpytools/mplotutils/pull/9)).
146146
* Formatted with black and isort, checked with flake8.
147147

148148
## v0.2.0 (01.06.2018)
@@ -151,7 +151,7 @@ Mayor release, mostly introducing the new `colorbar` functionality.
151151

152152
* add `_color_palette` that selects colors from the whole range of the colormap. Previously
153153
we used the `seaborn` logic that excludes colors at the edge of the colorbar
154-
([#1](https://github.com/mathause/mplotutils/issues/1)).
154+
([#1](https://github.com/mpytools/mplotutils/issues/1)).
155155
* the colorbar functionality was entirely redesigned:
156156
* new top-level function `mpu.colorbar`
157157
* added `aspect` keyword which defines the ratio of long to short side

docs/installation.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ mplotutils is not available from pypi or conda-forge, therefore it needs to be i
2626
### Install development version
2727

2828
```bash
29-
pip install git+https://github.com/mathause/mplotutils
29+
pip install git+https://github.com/mpytools/mplotutils
3030
```
3131

3232
### Install latest released version
3333

34-
Go to the [newest release on github](https://github.com/mathause/mplotutils/releases/latest), copy the URL of the `*.tar.gz` source file at the bottom and then use pip to install it (i.e. `pip install ...`).
34+
Go to the [newest release on github](https://github.com/mpytools/mplotutils/releases/latest), copy the URL of the `*.tar.gz` source file at the bottom and then use pip to install it (i.e. `pip install ...`).

mplotutils/tests/test_mapticklabels.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def test_xticklabels_robinson():
6767
assert ax.texts[-1].get_text() == "120°E"
6868

6969

70-
# TODO: https://github.com/mathause/mplotutils/issues/48
70+
# TODO: https://github.com/mpytools/mplotutils/issues/48
7171
# def test_xticklabels_robinson_180():
7272

7373
# proj = ccrs.Robinson(central_longitude=180)

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = utilities for matplotlib and cartopy
44
author = mathause
55
author_email = [email protected]
66
license = GPLv3
7-
url = https://github.com/mathause/mplotutils
7+
url = https://github.com/mpytools/mplotutils
88
long_description_content_type=text/markdown
99
long_description = file: README.md
1010
classifiers =

0 commit comments

Comments
 (0)