Skip to content

No edges on filled things by default - #5596

Merged
tacaswell merged 6 commits into
matplotlib:masterfrom
mdboom:no-edges-by-default
Dec 2, 2015
Merged

tacaswell merged 6 commits into
matplotlib:masterfrom
mdboom:no-edges-by-default

Conversation

@mdboom

@mdboom mdboom commented Dec 1, 2015

Copy link
Copy Markdown
Member

Part of the 2.0 style changes.

mdboom and others added 4 commits December 1, 2015 09:56
 - for plot, the default marker edge is now the color of the marker
 - for scatter the marker edge color now follows the face color

closes matplotlib#4679
@mdboom mdboom added this to the next major release (2.0) milestone Dec 1, 2015

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this pull from color instead? That way, there is no visible edge.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 'e' here stands for 'errorbar' not 'edge'

@tacaswell

Copy link
Copy Markdown
Member

👍 modulo Ben's concerns about the indentation. I tend to push the continued if lines in an extra 4 spaces.

@mdboom
mdboom force-pushed the no-edges-by-default branch from b43ca32 to e8d998f Compare December 1, 2015 20:51
@mdboom

mdboom commented Dec 1, 2015

Copy link
Copy Markdown
Member Author

Updated addressing comments here.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What prompted this change?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

histogram steps (for one) go through this path, but sometimes pass fill=False. If that gets ignored, than the patch will have neither fill or stroke in the new scheme here.

@tacaswell

Copy link
Copy Markdown
Member

👍 other than my confusion about a fill=False kwarg going into _makefill

@mdboom

mdboom commented Dec 2, 2015

Copy link
Copy Markdown
Member Author

I think this is good to go.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a "no newline at end of file" marker here. I've never seen that before. Doesn't PEP8 require a newline at end of file?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, missed this comment as I was pressing merge.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PEP8 doesn't apply as this isn't a Python file ;) But yes, we can go in and add the newline next time we touch this file.

tacaswell added a commit that referenced this pull request Dec 2, 2015
STY: No edges on filled things by default
@tacaswell
tacaswell merged commit befb2ca into matplotlib:master Dec 2, 2015
tacaswell added a commit that referenced this pull request Dec 2, 2015
STY: No edges on filled things by default
@tacaswell

Copy link
Copy Markdown
Member

back ported as 27adae6

@QuLogic QuLogic added the API: default changes Changes to default behavior label Jan 21, 2016
@ghost ghost mentioned this pull request May 19, 2017
1 of 6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API: default changes Changes to default behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants