-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only rescale points for older napari versions (#33)
napari v0.5 includes a fix to handle expected combinations of point size and layer scale. Previously, we worked around that issue by rescaling the point sizes ourselves. After this PR, we only do that for older versions of napari. The check is cached to avoid spamming the logs. Alternatively, we could require `napari>=0.5` in `setup.cfg`. I decided to support both versions for now, since v0.5 is quite new and comes with a few of its own new bugs. This was tested manually by installing v0.4.19 and v0.5.2 of napari and visually inspecting the resulting point sizes.
- Loading branch information
1 parent
5cdf633
commit e397320
Showing
1 changed file
with
45 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters