Skip to content

Navigation Menu

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

Appearance settings

Make compatible with napari 0.4.18 #190

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 26, 2023
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
1 change: 1 addition & 0 deletions 1 docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Bug fixes
~~~~~~~~~
- A full dataset is no longer read into memory when using ``HistogramWidget``.
Only the current slice is loaded.
- Fixed compatibility with napari 0.4.18.

Changes
~~~~~~~
Expand Down
6 changes: 3 additions & 3 deletions 6 setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ project_urls =
packages = find:
install_requires =
matplotlib
napari<0.4.18
napari
numpy
tinycss2
python_requires = >=3.8
Expand All @@ -47,15 +47,15 @@ napari.manifest =

[options.extras_require]
docs =
napari[all]
napari[all]==0.4.17
numpydoc
pydata-sphinx-theme
qtgallery
sphinx
sphinx-automodapi
sphinx-gallery
testing =
napari[pyqt6-experimental]
napari[pyqt6-experimental]>=0.4.18
pooch
pyqt6
pytest
Expand Down
Binary file modified BIN -37 Bytes (100%) src/napari_matplotlib/tests/baseline/test_custom_theme.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified BIN -229 Bytes (99%) src/napari_matplotlib/tests/baseline/test_slice_2D.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified BIN +11 Bytes (100%) src/napari_matplotlib/tests/scatter/baseline/test_scatter_2D.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions 6 src/napari_matplotlib/tests/test_theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@ def _mock_up_theme() -> None:
https://napari.org/stable/gallery/new_theme.html
"""
blue_theme = napari.utils.theme.get_theme("dark", False)
blue_theme.name = "blue"
blue_theme.label = "blue"
blue_theme.background = "#4169e1" # my favourite shade of blue
napari.utils.theme.register_theme("blue", blue_theme)
napari.utils.theme.register_theme(
"blue", blue_theme, source="napari-mpl-tests"
)


def test_theme_background_check(make_napari_viewer):
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.