nitpick, but the numpydoc convention places the type of the parameter, before the fact it is optional, not after.