Simplicial_set_embedding() error

Hi,

When I try to run umap on a scanpy object, I get an error stating that

simplicial_set_embedding() missing 3 required positional arguments: 'densmap', 'densmap_kwds', and 'output_dens'

Here’s a snippet of my code:

mat_all = sc.read_loom(filename="RSV.loom")
sc.pp.pca(mat_all)
sc.pp.neighbors(mat_all)
sc.tl.umap(mat_all)

And here’s the complete error message:

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/tmp/31048.tmpdir/ipykernel_3245/2128514342.py in <module>
      3 sc.pp.pca(mat_all)
      4 sc.pp.neighbors(mat_all)
----> 5 sc.tl.umap(mat_all)
      6 sc.pl.tsne(mat_all, color="cluster",legend_loc="on data",
      7            size=20, save=True)

/storage1/fs1/leyao.wang/Active/conda/envs/velocyto3.9/lib/python3.9/site-packages/scanpy/tools/_umap.py in umap(adata, min_dist, spread, n_components, maxiter, alpha, gamma, negative_sample_rate, init_pos, random_state, a, b, copy, method, neighbors_key)
    192         default_epochs = 500 if neighbors['connectivities'].shape[0] <= 10000 else 200
    193         n_epochs = default_epochs if maxiter is None else maxiter
--> 194         X_umap = simplicial_set_embedding(
    195             X,
    196             neighbors['connectivities'].tocoo(),

TypeError: simplicial_set_embedding() missing 3 required positional arguments: 'densmap', 'densmap_kwds', and 'output_dens'

I haven’t been able to find much information on this error, other than updating scanpy, which I have done (using 1.8.2), but the error persists.