Skip to content

bbox_inches="tight" hardcoded #31

@tfiers

Description

@tfiers

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

f.canvas.print_figure(io, format=$fmt, bbox_inches="tight")

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions