-
Notifications
You must be signed in to change notification settings - Fork 17
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
Wrong use of size
parameter for points layer
#209
Comments
I made a minimal working example here: https://github.com/giovp/spatialdata-sandbox/blob/main/toy/to_zarr.py. Circles as ellipses,
|
The minimal working example made it quite clear what was going on; now fixed here: |
For performance reasons we show circles using a napari points layer instead of using a napari shapes layer with ellipses.
It is important that the size of the points lead to the same visualization as the one that we would obtain using the ellipses with a certain radius.
This is not the case. Somehow the
size
parameter of the points, that should represent the diameter of the circles, lead to a incorrect visualization.A minimal working example to tackle this should also test the case in which there are two coordinate system with a different scale. I suggest to use a dataset with a circle and a rasterized image of that circle and then scale this in a new coordinate system. The two circles, in each coordinate system, should coincide.
The text was updated successfully, but these errors were encountered: