JuliaPy / JuliaPy/PyPlot.jl

PyPlot ignores bbox="tight" when saving

Abierto
#446 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Julia
Estrellas
488
Forks
90
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I have searched the forums of stackoverflow and others to save a figure in pyplot without any padding, frame or axes/ticks. There seems to be an array of solutions, none of them seem to work on the Julia interface to PyPlot. Specifically, when I use
`savefig(outname, bbox_inches="tight", pad_inches=0.0, frameon=false, dpi=90)`
it seems to ignore completely both the bbox_inches and the pad_inches keywords. The saved figure
has exactly the same white unsymmetrical frame that all default figures have. `frameon` only seems to make it transparent, not to eliminate it.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Start by reproducing the Julia PyPlot savefig call with bbox_inches="tight" and pad_inches=0.0, then trace the savefig entry point to see how these keywords are passed. Done means the saved figure respects both options and the unchanged default padding is covered by a regression test.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
julia, python
Área
data-visualization
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.