spatialdata-plot icon indicating copy to clipboard operation
spatialdata-plot copied to clipboard

Static plotting for spatialdata

Results 156 spatialdata-plot issues
Sort by recently updated
recently updated
newest added

updates: - [github.com/astral-sh/ruff-pre-commit: v0.14.5 → v0.14.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.5...v0.14.6)

```python from spatialdata.datasets import blobs import spatialdata_plot sdata = blobs() del sdata['table'] sdata.pl.render_points('blobs_points', color='genes').pl.show() ``` The table is not annotating the point, yet if there is no table we get...

bug
points :abacus:

Chatted with @timtreis, this could be done with `transfunc` https://github.com/scverse/spatialdata-plot/blob/07e0f0fef4dd3acc09cddb8035b24eec281203a3/src/spatialdata_plot/pl/basic.py#L325 only available for shapes.

Please see the simple MWE: ``` import spatialdata as sd from spatialdata.models import Labels2DModel sdata_test = sd.SpatialData() labels = np.ones((10, 10), dtype=np.uint8) sdata_test['labels'] = Labels2DModel.parse(labels) sdata_test.pl.render_labels('labels', color='green').pl.show() ``` However, I...

bug
labels :label:

As mentioned in #478, here we adapt the color handling of labels so that it works the same way as points/shapes (e.g. you can pass any color like...)

I have a very simple example. I have a cropped spatialdata object [test.zarr.tar.gz](https://github.com/user-attachments/files/22806138/test.zarr.tar.gz) I am trying to plot shapes 'nucleus_boundaries' with colouring by 'ident_add' column from 'table'. But I get...

`cookiecutter-scverse` released [v0.6.0](https://github.com/scverse/cookiecutter-scverse/releases/tag/v0.6.0). ## Changes ## CI updates We now more consistently embrace hatch and uv in the template. CI now generates the job matrix from that hatch configuration. This...

When executing a script .pl.show() can execute plt.show() even when not wanted. This is because of [these lines](https://github.com/scverse/spatialdata-plot/blob/fd11c33be9b67b3f72348992d2b9bc6db96b3ee6/src/spatialdata_plot/pl/basic.py#L1034), and can be be fixed on the user side through: ```py import...

In datashader, linewidths are given in pixels, e.g. to `Canvas.line()`, while matplotlib measures linewidths in points. This leads to differences in the plotting results that are bigger the larger the...

bug
shapes :bubbles: