Support overall figure title with subplots via `gpos` argument
@sadielbartholomew ci sta già lavorando.
Dal 11/10/2024.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
The rows and columns keyword arguments to gopen along with the gpos function allows one to create multiple subplot plots on one figure, but there is no built in-way to provide an overall title for the figure, to cover multiple plots.
We should support a simple, native way to add an overall title to the subplots. My suggestion is to allow this by providing a new keyword argument, overall_title or figure_title or similar, with a larger default font size that is configurable by another new keyword argument such as overalltitlefontsize.
Note at present, the only way to get an overall title is to defer to pyplot and use a suptitle (super title I believe this stands for), like so:
cfp.gopen(rows=3, columns=3)
plt.suptitle(<title>, fontsize=<fontsize>, <other args>)
...
cfp.gclose()
which is currently used for the second plot in the 12th documentation recipe as well as multiple new recipes in PR form, so as part of completing this we should update the recipes to use the new cf-plot built-in means to add the overall title.
- Lingua principale
- Python
- Stelle
- 21
- Fork
- 11
- Merge medio
- 3h 36m
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi 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 NCAS-CMS/cf-plot
-
Testing is far too fragileApertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 22/100
-
testing
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
-
Add `AGENTS.md` fileApertadocs enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 64/100
-
Add animation hooks into cf-plotForse di nuovo libera @bnlawrence l’ha presa 102 giorni fa e non c’è nessuna pull request aperta. Apertaenhancement
-
Ugly nemo plotting issueApertabug v35plus
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Tutte le issue di NCAS-CMS/cf-plot
Issue simili
-
[BUG] Container scenario crashes without expected_recovery_time, kube DNS example uses retry_waitApertaneeds-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
krkn-chaos/krkn#1627 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
NousResearch/hermes-agent#136483 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
[BUG] LazyStackedTensorDictStore zeroes the last byte of a new key set on the last elementForse già presa @peterdsharpe l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
pytorch/tensordict#2307 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno