Differences between function and keywords for savefig.bbox and axes.facecolor · Issue #5309 · matplotlib/matplotlib · GitHub
Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions