Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Support overall figure title with subplots via `gpos` argument

Abierto
#79 0 comentarios 0 reacciones 1 asignado Ver en GitHub

@sadielbartholomew ya está trabajando en esto.

Desde el 11/10/2024.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

enhancement

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.

Lenguaje dominante
Python
Estrellas
21
Forks
11
Merge medio
7 h 11 min
PR fusionados (30 d)
1

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de NCAS-CMS/cf-plot

Todos los issues de NCAS-CMS/cf-plot

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.