Feature request: remove need for intermediate pl calls when chaining renderers
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Tranquilla
- Stack tecnologico
- python
- Ambito
- data-visualization
Direzione di ricerca
Inizia esaminando l’accessor pl e i metodi render_*, in particolare il modo in cui attualmente restituiscono SpatialData e supportano le chiamate concatenate. Confronta l’esempio esistente sdata.pl.render_images().pl.render_shapes().pl.show() con il comportamento di concatenamento proposto e stabilisci come dovrebbero interagire le operazioni pl e pp. Il lavoro è completato quando è stato deciso un design dell’API e il concatenamento dei renderer funziona senza chiamate pl intermedie.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description of feature
Thanks for the super nice work, @timtreis and @sagar87 ! I think it would be nice if we didn't have to add intermediate calls to pl when chaining renderers. That is, I think it would be nice if instead of this:
sdata.pl.render_images().pl.render_shapes().pl.show()
We could do this:
sdata.pl.render_images().render_shapes().show()
This perhaps could be possible if the render_*() methods returned the plot accessor instead of the SpatialData object. I suppose this means that one couldn't do a pp operation after a pl operation, but maybe that suggests the pl and pp operations should be on the same level of the hierarchy or one should do their preprocessing first, then their plotting. I'm not sure what's best here, but it might be good to experiment with this once all of the p0 functionality is finished.
- Lingua principale
- Python
- Stelle
- 86
- Fork
- 21
- Merge medio
- 14h 50m
- PR unite (30g)
- 3
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di scverse/spatialdata-plot
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
scverse/spatialdata-plot#775 ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
scverse/spatialdata-plot#777 ·
-
`pl.show()` leading to `ValueError` due to mismatch between number of axes and number of panels Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
scverse/spatialdata-plot#749 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
scverse/spatialdata-plot#747 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
scverse/spatialdata-plot#677 ·
Tutte le issue di scverse/spatialdata-plot
Issue simili
-
fix: inaccuracy ⚠️
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
uabrc/uabrc.github.io#1255 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
ethereum-optimism/factory#64 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
duckdb/duckdb-python#627 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Add link for tutorial Apertadocumentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
Qiskit/qiskit-addon-sqd#376 ·