Skip to content

Differences between function and keywords for savefig.bbox and axes.facecolor #5309

@Tillsten

Description

@Tillsten

For at least two rcparams the name is surprisingly different from corresponding keyword.

 rcParams['savefig.bbox'] = x -> savefig(..., bbox_inches=x)
 rcParams['axes.facecolor']  = x correct for ax.patch but fig.add_axes(bgcolor=x)

I think at least in the second case the keyword should be changed to facecolor for
consistency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    API: consistencyConsistency of the matplotlib API, including naming, behavior, defaults, …

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions