Hi Scanpy team,
A potentially silly question. I'm having problems changing vmax in sc.pl.scatter.
I want to set 'dpt_pseudotime' vmax to 0.5, similar to how vmax and vmin can be changed, for example, in sc.pl.umap.
I tried the following:
with axes_style({'axes.grid': False}):
sc.pl.scatter(adata_0_1, x='Vim', y='Lyz2', color='dpt_pseudotime', size=5, use_raw=False,
color_map='RdYlBu_r', vmax=0.5)
But get the following error:

I read in the scanpy.pl.scatter documentation that kwargs can be used to set vmax. I tried this approach, but got the same result as above:
kwargs={'vmax':0.5}
with axes_style({'axes.grid': False}):
sc.pl.scatter(adata_0_1, x='Vim', y='Lyz2',
color='dpt_pseudotime', size=5, use_raw=False, color_map='RdYlBu_r', **kwargs)
I tried to find a solution online with no success. Any help/suggestions will be appreciated
P.S: This is my first post and I'm a huge fan of your package. Keep up the great work!
Hi Scanpy team,
A potentially silly question. I'm having problems changing vmax in sc.pl.scatter.
I want to set 'dpt_pseudotime' vmax to 0.5, similar to how vmax and vmin can be changed, for example, in sc.pl.umap.
I tried the following:
with axes_style({'axes.grid': False}):
sc.pl.scatter(adata_0_1, x='Vim', y='Lyz2', color='dpt_pseudotime', size=5, use_raw=False,
color_map='RdYlBu_r', vmax=0.5)
But get the following error:
I read in the scanpy.pl.scatter documentation that kwargs can be used to set vmax. I tried this approach, but got the same result as above:
kwargs={'vmax':0.5}
with axes_style({'axes.grid': False}):
sc.pl.scatter(adata_0_1, x='Vim', y='Lyz2',
color='dpt_pseudotime', size=5, use_raw=False, color_map='RdYlBu_r', **kwargs)
I tried to find a solution online with no success. Any help/suggestions will be appreciated
P.S: This is my first post and I'm a huge fan of your package. Keep up the great work!