JuliaPy / JuliaPy/PythonPlot.jl

`bbox_inches="tight"` hardcoded

Aberta
#31 1 comentário 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Julia
Estrelas
85
Forks
9
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

All figures are displayed with matplotlib's auto-selection of the crop:

https://github.com/JuliaPy/PythonPlot.jl/blob/fe588f4e3b084b9d0ada8641939c6331def77036/src/PythonPlot.jl#L86

This is a great default.
But sometimes you want to have more control over the bbox (especially when working with extreme aspect ratios, when `"tight"` produces totally different figsizes than what you requested).

Also, if in your rcparams, `savefig.bbox` is set to `"standard"` (the default) and not `"tight"`, then your saved figures will differ from the displayed figures, which is confusing.

So, it would be nice if this hardcoded setting was somehow configureable in PythonPlot.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.