Skip to content

bar(..., linewidth=None) doesn't display bar edges with mpl2.0b3 #6894

Closed

Description

@anntzer

Regression in mpl2.0b3 compared to 1.5.1:

bar([0, 1], [2, 3], color="none", edgecolor="k", linewidth=None)

doesn't draw edges for the bars. The docstring (which btw has a weird linebreak) states:

    linewidth : scalar or array-like, optional
        width of bar edge(s). If None, use default
        linewidth; If 0, don't draw edges.
        default: None

Perhaps due to a change in the defaults, I'm not sure? But even if this was the case at least the docstring should be updated to indicate which rcparam gives the default, and state that this default is zero.

Activity

  1. added this to the milestone on Aug 3, 2016
  2. tacaswell commented on Aug 4, 2016

    @tacaswell
    Member

    This is probably related to #6844

  3. efiring commented on Aug 7, 2016

    @efiring
    Member

    This is fixed by #6904.

  4. tacaswell commented on Aug 29, 2016

    @tacaswell
    Member

    Gives
    so

    on current 2.x

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions