Skip to content

Error when plotting one element of one coordinate system after transformation refactoring #174

Closed

Description

@Sonja-Stockhaus

@timtreis in the current main we now get an error when plotting e.g. an image from one coordinate system when there are also other images in other coordinate systems (see example below).

The problem is that we don't remove irrelevant coordinate systems anymore after the transformation refactoring (that leads to a key error downstream). We should somehow add that before the call of _prepare_params_plot in basic because also, else the irrelevant coordinate systems are still shown as empty plot.

btw, the problem won't be removed by multiscale image handling, so just as a reminder for later

Code for reproduction:

import spatialdata as sd
import spatialdata_plot
sdata = sd.read_zarr("visium_associated_xenium_io.zarr")
sdata.pl.render_images('CytAssist_FFPE_Human_Breast_Cancer_full_image').pl.show()

Activity

  1. linked a pull request that will close this issueMultiscaleImage handling #164on Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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