Skip to content

allow for plotting using specific table (#217)#220

Merged
melonora merged 17 commits intomainfrom
multi_table
Mar 19, 2024
Merged

allow for plotting using specific table (#217)#220
melonora merged 17 commits intomainfrom
multi_table

Conversation

@melonora
Copy link
Contributor

PR to support the multi_table specification of SpatialData

melonora and others added 10 commits February 29, 2024 10:24
* allow for plotting using specific table

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Change into get with default return

* fix issues with pp

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* ensure instance key coercable to int dtype

* add table keys import

* allow feature branches tests

* remove table key getters

* extract into function

* add docstring

* don't create unnecessary anndata

* allow for label color without specified table

* refactor show param validations

* refactor show param validations

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* big refactor

* remove unused render_params.layer

* remove redundant code

* refactor to mapping

* allow later creation of mapping

* reimplement color label

* fix unused arguments

* change points shapes logic

* unfixed full implementation

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix tests

* fix tests

* remove duplicate checks

* implement nested list groups palette

* fix tests

* fix or mistake

* add dummy test

* Change to warning

* partial fix mypy

* add function type hints

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
if col_color is not None:
params.color = [None] * len(render_elements)
params.col_for_color = []
for element_name in render_elements:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace by 'get_value'

melonora and others added 3 commits March 19, 2024 21:52
* fixed!

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* fix mypy

* shut more mypy up

* some mypy
@melonora melonora merged commit 71d4f3e into main Mar 19, 2024
@LucaMarconato LucaMarconato deleted the multi_table branch March 20, 2024 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants