You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just a quick reminder so as not to forget. Will update ASAP: Specifying the argument c in scv.pl.scatter as an array when plotting gene expression on a UMAP, for example, leads to failure. The logging statement WARNING: Invalid color key. Using grey instead. is issued and only a single, grey plot is produced.
# TODO: Make reproducible example.# `gene_names` defined as arrayscv.pl.scatter(
adata,
basis='umap',
c=gene_names[:20],
cmap='viridis',
legend_loc=None,
colorbar=False,
s=25,
ncols=5
)
scv.pl.scatter(
adata,
basis='umap',
c=gene_names[:20].tolist(),
cmap='viridis',
legend_loc=None,
colorbar=False,
s=25,
ncols=5
)
Error output
# paste the error output here, if applicable
Versions
# paste the ouput of scv.logging.print_versions() here
The text was updated successfully, but these errors were encountered:
Just a quick reminder so as not to forget. Will update ASAP: Specifying the argument
c
inscv.pl.scatter
as an array when plotting gene expression on a UMAP, for example, leads to failure. The logging statementWARNING: Invalid color key. Using grey instead.
is issued and only a single, grey plot is produced.Error output
Versions
The text was updated successfully, but these errors were encountered: