DOC: fix dtype of  parameter in splrep docstring.

Fixes #2882