Skip to content

Fix Boxplot docs to conform to numpydoc (rebase #6240) #7275

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
Oct 16, 2016

Conversation

QuLogic
Copy link
Member

@QuLogic QuLogic commented Oct 15, 2016

This is a rebase of #6240, which seems to have been left behind at some point. The original first commit was already made by @tacaswell at some other time, so there's only one here now.

cc @jenshnielsen

@QuLogic QuLogic added this to the 2.0 (style change major release) milestone Oct 15, 2016
@phobson phobson changed the title Fix Boxplot docs to conform to numpydoc (rebase #6240) [MRG+1] Fix Boxplot docs to conform to numpydoc (rebase #6240) Oct 15, 2016
showfliers : bool, optional (True)
Show the outliers beyond the caps.
showmeans : bool, optional (False)
Show the arithmetic means.
Copy link
Member

@phobson phobson Oct 15, 2016

Choose a reason for hiding this comment

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

To be consistent with the *prop kwargs, I think it might be worth changing these to "Show_s_ the ...".

Minor nitpick. Not a show stopper.

Copy link
Member Author

Choose a reason for hiding this comment

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

They're actually subtly different; on show*, the "Show the ..." is an imperative command to the boxplot function, whereas on *prop, the "Specifies ..." is a description of the parameter itself.

Of course, I'm just speculating because @jenshnielsen wrote it originally.

Copy link
Member

@phobson phobson Oct 16, 2016

Choose a reason for hiding this comment

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

Makes sense. I was just thinking:

The medianprops parameter specifies the style of the median

So therefore

The showmedian parameter shows the median...

@NelleV NelleV merged commit e614026 into matplotlib:v2.x Oct 16, 2016
@QuLogic QuLogic deleted the boxplotnumpydoc branch October 16, 2016 00:21
@QuLogic QuLogic changed the title [MRG+1] Fix Boxplot docs to conform to numpydoc (rebase #6240) Fix Boxplot docs to conform to numpydoc (rebase #6240) Oct 16, 2016
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.

5 participants