8000 Use keyword arguments for setp() in examples by timhoffm · Pull Request #10155 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Use keyword arguments for setp() in examples #10155

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

Merged
merged 1 commit into from
Jan 4, 2018

Conversation

timhoffm
Copy link
Member
@timhoffm timhoffm commented Jan 4, 2018

PR Summary

Migrate setp() usage in examples from MATLAB-like name-val positional arguments to keyword arguments.

Motivation: Keyword arguments are clearer, safer and more pythonic. We want to encourage their use over the alternative MATLAB-like API of setp(). All examples should thus use the keyword-API.

@anntzer anntzer merged commit b62f318 into matplotlib:master Jan 4, 2018
@anntzer anntzer added this to the v2.1.1-doc milestone Jan 4, 2018
@anntzer
Copy link
Contributor
anntzer commented Jan 4, 2018

@meeseeksdev backport to v2.1.1-doc

@matplotlib matplotlib deleted a comment from lumberbot-app bot Jan 4, 2018
anntzer added a commit that referenced this pull request Jan 4, 2018
@timhoffm timhoffm deleted the setp-keword-args branch January 4, 2018 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0