Skip to content
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

We could make the text appear above or below the points #4

Open
vreuter opened this issue Oct 18, 2024 · 1 comment
Open

We could make the text appear above or below the points #4

vreuter opened this issue Oct 18, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@vreuter
Copy link
Contributor

vreuter commented Oct 18, 2024

This would allow us to still display the classic point at the centroid of the fit to the FISH signal, by offsetting the text of the explanatory code(s) for a discard of a spot to one side of the point. This should most likely be above or below the point, so as to minimally distort the notion of where the center of the point is found. Furthermore, this would be better for cases where there are multiple discard reasons, as in this case the text will be longer/wider than it is tall.

The offset direction should consider where the center of the point is positioned relative to the image bounds. This would be so that the text does not go off the edge of the image, either above or below. Specifically, if the center of the point is within some threshold of the top of the image, then the text should be offset to be below the image. Symmetrically, if the point is near the bottom of the image, then the text should be situated above the point.

@vreuter vreuter added the enhancement New feature or request label Oct 18, 2024
@vreuter
Copy link
Contributor Author

vreuter commented Oct 18, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant