spatialdata-plot
spatialdata-plot copied to clipboard
Static plotting for spatialdata
`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:  Here we see that the Dot plot from `scanpy` counts 1.1K cells in...
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)...
Image 1  ~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  ~Probably same as image 1~ Image 3...
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.  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.