DEP: stats: use np.deprecate to emit a warning
MAINT: some more updates to release scripts.
Merge pull request #3006 from EvgeniBurovski/entropy_base

DOC: stats: add a log base note to the  docstring
Minor reST typo
Merge pull request #3009 from steko/patch-1

Minor reST typo
Merge pull request #2991 from rgommers/review-probplot

Test and fix up stats.probplot
Fix small issues and improve formatting in optimize tutorial
Add Result class to optimize API docs
Corrects documentation error

Item 22. in cdist description had parenthetical that read "see sokalsneath function documentation", but should have read, "see wminkowski function documentation." That is fixed here.
Merge pull request #3012 from lemonlaug/master

DOC: corrects documentation error in spatial.cdist
implemented choice of cuts in Legendre function P
Merge remote-tracking branch 'upstream/master' into clpmn
fixing signs in the derivative of LegendreP
MAINT: Remove duplicated words in docstrings or comments in python files (plus a little copy-editing afterwards).
MAINT: Remove a few duplicated words in the docs.
Merge pull request #3016 from WarrenWeckesser/remove-dup-words

Remove duplicated words in documentation or comments.
MAINT: stats: remove unused import from contingency.py
MAINT: stats: remove a couple unused variables in mstats_basic.py
MAINT: stats: remove a couple unused variables in vonmises.py
Merge pull request #3017 from WarrenWeckesser/stats-maint

A bit of maintenance work in stats.