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

Centroid label missing if the x and y range is < 1 #116

Open
ghar1821 opened this issue Nov 2, 2021 · 3 comments
Open

Centroid label missing if the x and y range is < 1 #116

ghar1821 opened this issue Nov 2, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@ghar1821
Copy link
Member

ghar1821 commented Nov 2, 2021

When making colour plots coloured by a factor type label, the centroid text labels are missing if the x- and y- axis range is < 1.
In UMAP or tSNE this may not happen (having x- or y- axis range < 1), but it is the case for diffusion map.

@ghar1821 ghar1821 added the bug Something isn't working label Nov 2, 2021
@ghar1821 ghar1821 self-assigned this Nov 2, 2021
@tomashhurst
Copy link
Member

Ah yes, I think the label XY offset is a a whole number (like 1 or 2) so it is massively separated from the centroid if the range is <10, and absent at <1. Should be reasonably straight forward to fix.

@SamGG
Copy link

SamGG commented Nov 2, 2021

Why not multiplying the diffusion map coordinates by 10?

@ghar1821
Copy link
Member Author

ghar1821 commented Nov 2, 2021

@SamGG that's what I do now as a workaround. It's just a minor annoyance. Not an urgent bug to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants