umap icon indicating copy to clipboard operation
umap copied to clipboard

Fix numba call for deprecation of nopython=True

Open aarmey opened this issue 2 years ago • 3 comments

Fixes #1048 for umap.plot.

I think this line was missed during the changes in v0.5.4.

aarmey avatar Oct 05 '23 13:10 aarmey

This is actually a nopython=False case; I think in practice it probably needs to be updated to use the python object context handling that has been added to numba. I'll try to get around to that in due course.

lmcinnes avatar Oct 05 '23 16:10 lmcinnes

Hello @aarmey! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 209:89: E501 line too long (92 > 88 characters)

pep8speaks avatar Oct 06 '23 03:10 pep8speaks

@lmcinnes you might want to avoid the additional complexity, but here is a version that can be fully compiled by Numba.

aarmey avatar Oct 06 '23 03:10 aarmey