Skip to content

Can not display color for render_shapes #359

Open
@Lings01

Description

@Lings01

I used the example data from spatialdata.scverse.org(xenium_rep1_io) and plot py render_shapes. The plot color fill by na_color.
My code is here:
from spatialdata import bounding_box_query sdata = sd.read_zarr("./data.zarr") crop0 = lambda x: bounding_box_query( x, min_coordinate=[10000, 5000], max_coordinate=[12500, 7500], axes=("x", "y"), target_coordinate_system="global", ) crop0(sdata).pl.render_shapes('cell_boundaries',color='cell_area',table_name = 'table').pl.show(colorbar=True)
image
my packages version is here:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions