minor thing: maybe `inplace` instead of `in_place`? That's slightly more consistent with the occasional numpy and scipy keyword.