JuliaPy / JuliaPy/PythonPlot.jl

`bbox_inches="tight"` hardcoded

Ouverte
#31 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Julia
Étoiles
85
Forks
9
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.