Fix issues/2331: Bode plot returns continuous phase
BUG: issues/2331, change to assert_almost_equal and style improvement
ensure analyticity of associate Legendre function of first kind
BUG: stats: When handling the arguments to beta_gen.fit, don't rely on np.log
to generate a warning when its argument is less than or equal to 0.
Fixes gh-2771.
BUG: stats: Raise a ValueError in beta_gen.fit if all the parameters are fixed.
ENH: allow optional rescaling of input coordinates in ND interpolation
MAINT: remove lazy import stuff from lib.six.  Closes gh-2764.
removed superfluous comments
adapted documentation
removed known failure for clpmn test
Merge pull request #2801 from WarrenWeckesser/bug-beta-fit

BUG: stats: Fix a couple issues in the recently updated beta_gen.fit method.
improved documentation of lpmn and clpmn
BUG: special: fix square root conventions in clpmn and lpmn

Having the branch cut in (-1, 1) requires some care in the square roots.
TST: special: fix mpmath tests for legenp
DOC: special: adjust lpmn/clpmn documentation
TST: interpolate: fix for Python 3
BUG: interpolate/interpnd: rescale after translation
Merge pull request #2802 from andreas-h/ndinterpolator

ENH: allow optional rescaling of input coordinates in ND interpolation

Fixes gh-2191
Merge pull request #2803 from rgommers/issue-2764-sixmoves

MAINT: remove lazy import stuff from lib.six
BLD: special: fix build when system doesn't have isfinite macro