Skip to content

Commit 128b283

Browse files
authored
Merge branch 'master' into better-gifs
2 parents 8f99aff + 4603f89 commit 128b283

157 files changed

Lines changed: 551 additions & 422 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Require review from one maintainer for pushes to Development and Master
22

3-
* @untzag @ksunden @ddkohler @darienmorrow @kameyer226
3+
* @untzag @ksunden @ddkohler @darienmorrow @kameyer226 @rpm4

.github/workflows/python-publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@ jobs:
2121
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade pip
24-
pip install wheel twine setuptools
24+
pip install twine build setuptools
2525
- name: Build and publish
2626
env:
2727
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
2828
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
2929
run: |
30-
python setup.py sdist bdist_wheel
30+
python -m build
31+
twine check dist/*
3132
twine upload dist/*

.github/workflows/python-test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ubuntu-latest, windows-latest]
15-
python-version: [3.8, 3.9, '3.10', 3.11]
15+
python-version: [3.11, 3.12, 3.13, 3.14]
1616

1717
steps:
1818
- uses: actions/checkout@v4
@@ -25,6 +25,8 @@ jobs:
2525
python -m pip install --upgrade pip wheel setuptools
2626
python -m pip install --upgrade .[dev]
2727
- name: Test with pytest
28+
env:
29+
MPLBACKEND: "agg"
2830
run: |
2931
pytest --color=yes
3032

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,6 @@ coverage.xml
4848

4949
# vim
5050
*.sw?
51+
52+
# vscode
53+
/.vscode

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
repos:
2-
- repo: https://github.com/psf/black
3-
rev: 24.4.2 # Replace by any tag/version: https://github.com/psf/black/tags
2+
- repo: https://github.com/psf/black-pre-commit-mirror
3+
rev: 26.1.0 # Replace by any tag/version: https://github.com/psf/black/tags
44
hooks:
55
- id: black
66
language_version: python3 # Should be a command that runs python3.6+
77
args: ["--line-length", "99"]
88

99
- repo: https://github.com/pre-commit/pre-commit-hooks
10-
rev: v4.6.0
10+
rev: v6.0.0
1111
hooks:
1212
- id: trailing-whitespace
1313
exclude: datasets|.data$

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2
33
build:
44
os: ubuntu-22.04
55
tools:
6-
python: "3.9"
6+
python: "3.11"
77

88
python:
99
install:

CHANGELOG.md

Lines changed: 63 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,61 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
55

66
## [Unreleased]
77

8+
## Changed
9+
- use `pillow` directly and remove `ImageIO` dependency
10+
11+
### Fixed
12+
- WrightTools works with new h5py 3.16
13+
14+
## [3.6.2]
15+
16+
### Fixed
17+
- fixed bug where numpy>2.4 broke `data.join`
18+
- fixed bug which prevented channels from having units
19+
20+
### Changed
21+
- per [PEP 765](https://peps.python.org/pep-0765/), `return` is removed from `finally` blocks
22+
23+
## [3.6.1]
24+
25+
### Changed
26+
- local version identifier uses only ASCII letters/numbers and periods (PEP 440)
27+
- actively supporting python 3.11-3.14
28+
- `Data.create_constant`: allow kwargs to be passed to the constant creation
29+
30+
## [3.6.0]
31+
32+
### Added
33+
- `Data.norm_for_each`: easier norm-by-axis syntax
34+
- `kit.from_list_of_objects`: convenience method for grabbing an channel/variable/axis/etc. using multiple specifiers
35+
- `Data.get_var`: get variable object by index, name, or variable itself
36+
- `Data.get_axis`: get axis object by index, name, or variable itself
37+
- `Data.get_channel`: get channel object by index, name, or variable itself
38+
39+
### Fixed
40+
- quick2D works with contours on
41+
- quick2D works with `pixelated=False` (i.e. contourf)
42+
- `data.from_LabRAM`: small tweaks to deal with newly emerged test failure in python 3.11 tests
43+
44+
### Changed
45+
- various unit tests were altered to speed up CI
46+
- default colorbar is sampled at 4096 points (was 256)
47+
- packaging now done through pyproject.toml
48+
49+
## [3.5.5]
50+
51+
### Fixed
52+
- distribution information includes dependency setuptools (fixes conda feedstock)
53+
54+
## [3.5.4]
55+
56+
### Fixed
57+
- setup.py is now configured to allow numpy 2.x
58+
- contour/contourf artist overloads compatible with matplotlib 3.10
59+
60+
### Changed
61+
- actively supporting python 3.11-3.13
62+
863
## [3.5.3]
964

1065
### Added
@@ -19,8 +74,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
1974
- wt5 explore : fixed bug where data will not load interactively if directory is not cwd
2075
- constants in chopped data will inherit the units of the original data
2176

22-
## Changed
23-
- use `pillow` directly and remove `ImageIO` dependency
77+
### Changed
78+
- numpy 2.0 compatible
2479
- refactor of artists.quick1D and artists.quick2D
2580
- quick2D and quick1D will not force `autosave=True` if the number of figures is large. Instead, interactive plotting will be truncated if the number of figures is large.
2681
- artists now gets turbo colormap straight from matplotlib
@@ -398,7 +453,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
398453
### Added
399454
- initial release
400455

401-
[Unreleased]: https://github.com/wright-group/WrightTools/-/compare/3.5.3...master
456+
[Unreleased]: https://github.com/wright-group/WrightTools/-/compare/3.6.2...master
457+
[3.6.2]: https://github.com/wright-group/WrightTools/compare/3.6.1...3.6.2
458+
[3.6.1]: https://github.com/wright-group/WrightTools/compare/3.6.0...3.6.1
459+
[3.6.0]: https://github.com/wright-group/WrightTools/compare/3.5.5...3.6.0
460+
[3.5.5]: https://github.com/wright-group/WrightTools/compare/3.5.3...3.5.5
461+
[3.5.4]: https://github.com/wright-group/WrightTools/compare/3.5.3...3.5.4
402462
[3.5.3]: https://github.com/wright-group/WrightTools/compare/3.5.2...3.5.3
403463
[3.5.2]: https://github.com/wright-group/WrightTools/compare/3.5.1...3.5.2
404464
[3.5.1]: https://github.com/wright-group/WrightTools/compare/3.5.0...3.5.1

CONTRIBUTORS

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ http://wright.tools/en/stable/contributing.html
33

44
Maintainers (alphabetical by last name)
55
Daniel Kohler (@ddkohler)
6-
Darien Morrow <darienmorrow@gmail.com> (@darienmorrow)
7-
Kyle Sunden <sunden@wisc.edu> (@ksunden)
8-
Blaise Thompson <blaise@untzag.com> (@untzag)
96

107
Contributors (alphabetical by last name)
118
Kyle Czech (@kjczech)
9+
Ryan McDonnell (@rpm4)
10+
Kent Meyer (@kameyer226)
11+
Darien Morrow <darienmorrow@gmail.com> (@darienmorrow)
1212
Nathan Neff-Mallon (@neffmallon)
1313
Thomas Parker (@parkertomf)
14+
Kyle Sunden (@ksunden)
1415
Rachel Swedin (@RachelSwedin)
16+
Blaise Thompson <blaise@untzag.com> (@untzag)

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ Documentation at `wright.tools <http://wright.tools>`_.
3030
:target: https://doi.org/10.21105/joss.01141
3131

3232
.. image:: https://raw.githubusercontent.com/wright-group/WrightTools/master/logo/logo.png
33-
:scale: 25 %
33+
:width: 400
3434
:alt: WrightTools
3535
:align: center

WrightTools/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.5.3
1+
3.6.2

0 commit comments

Comments
 (0)