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

Static plotting for spatialdata

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

`cookiecutter-scverse` released [v0.4.0](https://github.com/scverse/cookiecutter-scverse/releases/tag/v0.4.0). ## Changes ## What's Changed * pre-commit updates * Fix installation instructions on contributing guide by @grst in https://github.com/scverse/cookiecutter-scverse/pull/271 * fix typo by @Zethson in https://github.com/scverse/cookiecutter-scverse/pull/279 *...

When using `pl.render_labels` with the `color` and `palette` parameter, the legends are incorrectly colored. Example Plot: ![NBL-25-R2C8--Diagnosis--incorrect](https://github.com/scverse/spatialdata-plot/assets/8909315/c1b04f2a-4d63-4bfd-a1b9-40c103604877) Here we see that the Dot plot from `scanpy` counts 1.1K cells in...

bug
priority: medium
labels :label:

The alpha doesn't work for me, what am I missing? viridis = cm.get_cmap("viridis", 256) colors = viridis(np.linspace(0, 0.8, 256)) colors[0, :] = [1, 1, 1, 0] new_cmap = LinearSegmentedColormap.from_list("truncated_viridis", colors)...

bug
priority: medium

Image 1 ![image](https://github.com/scverse/spatialdata-plot/assets/12818242/8c6c7f5c-7cfa-4bf9-8510-dc7592ee5558) ~Background is taken as shape, should be white. White dots should probably be C~ https://github.com/scverse/spatialdata-plot/pull/323 and https://github.com/scverse/spatialdata-plot/pull/334 Image 2 ![image](https://github.com/scverse/spatialdata-plot/assets/12818242/f3de2895-4a2d-4a53-ab79-c82dd90d1d75) ~Probably same as image 1~ Image 3...

bug
housekeeping :broom:
priority: high

Fixes #252, #240 This PR includes fixes to two semi-related issues: - #252 is addressed in commit d73ccd3 While digging around for a fix to #252, I also did some...

updates: - [github.com/psf/black: 24.3.0 → 24.4.2](https://github.com/psf/black/compare/24.3.0...24.4.2) - [github.com/pre-commit/mirrors-mypy: v1.9.0 → v1.10.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.9.0...v1.10.0) - [github.com/astral-sh/ruff-pre-commit: v0.3.5 → v0.4.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.5...v0.4.4)

From [spatialdata issues 554](https://github.com/scverse/spatialdata/issues/554) new issue. Because matplotlib warning, use ''matplotlib.colormaps[name]'' or ''matplotlib.colormaps.get_cmap(obj)'' instead cm.get cmap("viridis",256), however, found the exp range are diferent. ![newissue](https://github.com/scverse/spatialdata-plot/assets/130979614/925e42fd-19e8-4979-9e27-c1d6a275ec40) code cm.get_cmap() and warning: ```python import...

saw this from @LucaMarconato tutorial on visium HD https://github.com/scverse/spatialdata-notebooks/pull/93 ```python import matplotlib.cm as cm import matplotlib.pyplot as plt import numpy as np from matplotlib.colors import LinearSegmentedColormap # modify the viridis...

Work from @Sonja-Stockhaus and @ckmah.