Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6d9310c

Browse files
authored
Merge pull request#190 from dstansby/unpin-napari
Make compatible with napari 0.4.18
2 parents8dbfdba +9159449 commit6d9310c

File tree

6 files changed

+8
-5
lines changed

6 files changed

+8
-5
lines changed

‎docs/changelog.rst‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Bug fixes
66
~~~~~~~~~
77
- A full dataset is no longer read into memory when using ``HistogramWidget``.
88
Only the current slice is loaded.
9+
- Fixed compatibility with napari 0.4.18.
910

1011
Changes
1112
~~~~~~~

‎setup.cfg‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ project_urls =
2828
packages = find:
2929
install_requires =
3030
matplotlib
31-
napari<0.4.18
31+
napari
3232
numpy
3333
tinycss2
3434
python_requires = >=3.8
@@ -47,15 +47,15 @@ napari.manifest =
4747

4848
[options.extras_require]
4949
docs =
50-
napari[all]
50+
napari[all]==0.4.17
5151
numpydoc
5252
pydata-sphinx-theme
5353
qtgallery
5454
sphinx
5555
sphinx-automodapi
5656
sphinx-gallery
5757
testing =
58-
napari[pyqt6-experimental]
58+
napari[pyqt6-experimental]>=0.4.18
5959
pooch
6060
pyqt6
6161
pytest
-37 Bytes
Loading
-229 Bytes
Loading
11 Bytes
Loading

‎src/napari_matplotlib/tests/test_theme.py‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,11 @@ def _mock_up_theme() -> None:
3737
https://napari.org/stable/gallery/new_theme.html
3838
"""
3939
blue_theme=napari.utils.theme.get_theme("dark",False)
40-
blue_theme.name="blue"
40+
blue_theme.label="blue"
4141
blue_theme.background="#4169e1"# my favourite shade of blue
42-
napari.utils.theme.register_theme("blue",blue_theme)
42+
napari.utils.theme.register_theme(
43+
"blue",blue_theme,source="napari-mpl-tests"
44+
)
4345

4446

4547
deftest_theme_background_check(make_napari_viewer):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp