Skip to content

Unable to set vmin vmax when plotting vector data #324

@wangjiawen2013

Description

@wangjiawen2013

Hi,
I want set the vmin and vmax of the color, but failed. This is the first method:

norm = matplotlib.colors.Normalize(vmin=-1.0, vmax=0.4)
sdata.pl.render_shapes("cell_circles", norm=norm, color="NOTCH2", method="matplotlib").pl.show(coordinate_systems= "physical", figsize=(10,4))

The resulting plot is here:
image

This is the second method:
sdata.pl.render_shapes("cell_circles", vmin=-1, vmax=1, color="NOTCH2", method="matplotlib").pl.show(coordinate_systems= "physical", figsize=(10,4))
The resulting plot is here:
image

vmin and vmax didn't work in both cases.

Metadata

Metadata

Labels

bugSomething isn't workingshapes 🫧Anything related to Shapes

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions