You have `x0 = asarray(x0, dtype=float)` below, so this argument *can* be a list.  So the docstring should describe it as `array_like`.  Same comment for `scale` and `offset`.