Spectre icon indicating copy to clipboard operation
Spectre copied to clipboard

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

Open ghar1821 opened this issue 3 years ago • 3 comments

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 avatar Nov 02 '21 01:11 ghar1821

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.

tomashhurst avatar Nov 02 '21 10:11 tomashhurst

Why not multiplying the diffusion map coordinates by 10?

SamGG avatar Nov 02 '21 10:11 SamGG

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

ghar1821 avatar Nov 02 '21 22:11 ghar1821