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

BUG: Allowing unknown drawstyles #6145

Merged
merged 1 commit into from Mar 13, 2016
Merged

Conversation

madphysicist
Copy link
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
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
Member

Backported to v2.x as e738593

@tacaswell
Copy link
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
Contributor Author

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

@tacaswell
Copy link
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
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.

None yet

4 participants