First of all, thank you so much for this amazing library.
I have noticed a little issue while plotting a subset of points with interactive plots.
In the function interactive of umap/plot.py [LINE 1268]
instead of:
points = umap_object.embedding_
if subset_points:
points = points[subset_points]
I think it would be better to just use:
as you do in the points function:
if subset_points is not None:
if len(subset_points) != points.shape[0]:
raise ValueError(
"Size of subset points ({}) does not match number of input points ({})".format(
len(subset_points), points.shape[0]
)
)
data = data[subset_points]
if hover_data is not None:
hover_data = hover_data[subset_points]
Hi!
First of all, thank you so much for this amazing library.
I have noticed a little issue while plotting a subset of points with interactive plots. In the function
interactive
ofumap/plot.py
[LINE 1268] instead of:I think it would be better to just use:
as you do in the points function:
Thanks