Interpolation problem for sparse image data?

Open
#351 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
jupyter-notebook, python

Research direction

Run the Visium HD notebook and inspect the commented plotting code that produces an all-black image at a small target canvas. Compare it with the attached figure and with a large figsize such as (30, 30); done means the interpolation renders the image consistently at the smaller canvas as well.

Written by the indexing model from the issue text.

Description

While improving the Visium HD notebook after https://github.com/scverse/spatialdata-plot/issues/303 has been addressed I have noticed that there must be a problem with interpolations of images when the target canvas is small, because I can't replicate the plot shown in figure with the commented code (when I tried it shows everything black; if I put a large figsize e.g. (30, 30), I start seeing some white pixels).

To reproduce please run the Visium HD notebook.

image

Dominant language
Python
Stars
86
Forks
21
Avg merge
14h 50m
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from scverse/spatialdata-plot

All issues in scverse/spatialdata-plot

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.