X Tutup
Skip to content

BUG: Allowing unknown drawstyles#6145

Merged
tacaswell merged 1 commit intomatplotlib:masterfrom
madphysicist:patch-1
Mar 13, 2016
Merged

BUG: Allowing unknown drawstyles#6145
tacaswell merged 1 commit intomatplotlib:masterfrom
madphysicist:patch-1

Conversation

@madphysicist
Copy link
Copy Markdown
Contributor

Fixes #6143. Added test as well.

Added a check that forbids `drawstyle` keywords that are not listed in the documentation.
Added tests to mimic linestyle tests.
Added self to mailmap.
@madphysicist
Copy link
Copy Markdown
Contributor Author

@tacaswell Looks like its working now.

tacaswell added a commit that referenced this pull request Mar 13, 2016
MNT: fail earlier on unknown draw_style
@tacaswell tacaswell merged commit 6a57084 into matplotlib:master Mar 13, 2016
@QuLogic QuLogic added this to the 2.1 (next point release) milestone Mar 13, 2016
tacaswell added a commit that referenced this pull request Mar 13, 2016
MNT: fail earlier on unknown draw_style

Conflicts:
	.mailmap
@tacaswell
Copy link
Copy Markdown
Member

Backported to v2.x as e738593

@tacaswell
Copy link
Copy Markdown
Member

@madphysicist Thanks!

@tacaswell tacaswell modified the milestones: 2.0 (style change major release), 2.1 (next point release) Mar 13, 2016
@madphysicist madphysicist deleted the patch-1 branch March 13, 2016 21:10
@madphysicist
Copy link
Copy Markdown
Contributor Author

No problem. Is there a release notes or something like that I should update?

@tacaswell
Copy link
Copy Markdown
Member

We maintain a whats_new for new features and an api_changes for api breaking changes. This does not really fall into either category.

Looking into this a bit more, this might have caused a minor regression which is it used to be possible to set the drawstyle to None (which is the default value). That should probably be restored.

@madphysicist
Copy link
Copy Markdown
Contributor Author

Fixed that here: #6156.

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

Successfully merging this pull request may close these issues.

4 participants

X Tutup