Skip to content

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

Closed

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

  1. added this to the milestone on Oct 24, 2015
  2. added
    API: consistencyConsistency of the matplotlib API, including naming, behavior, defaults, …
    on Oct 24, 2015
  3. tacaswell commented on Jan 25, 2016

    @tacaswell
    Member

    addressed by #5501

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