Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
anntzer opened this issue Aug 3, 2016 · 3 comments
Closed

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

anntzer opened this issue Aug 3, 2016 · 3 comments
Milestone

Comments

@anntzer
Copy link
Contributor

anntzer commented Aug 3, 2016

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.

@anntzer anntzer added this to the 2.0 (style change major release) milestone Aug 3, 2016
@tacaswell
Copy link
Member

This is probably related to #6844

@efiring
Copy link
Member

efiring commented Aug 7, 2016

This is fixed by #6904.

@tacaswell
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants