scverse / scverse/spatialdata-plot
consider removing `_copy` private method
Open
Nobody has claimed this yet.
enhancement
priority: low
- Dominant language
- Python
- Stars
- 86
- Forks
- 21
- Avg merge
- 14h 50m
- Merged PRs (30d)
- 3
Description
Report
copying the entire spatialdata object can be expensive if elements are on memory. Consider change logic to avoid this.
Version information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading src/spatialdata_plot/pl/basic.py around line 81 and tracing where the private _copy method is used. Investigate whether plotting can avoid copying the entire spatialdata object when elements are in memory. Done means preserving existing plotting behavior while avoiding the expensive full-object copy; no test file is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data-visualization
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100