Update docstrings and add type hints
Update docstrings and add type hints: a task in lifesci-single-cell-spatial-swe-envs-nocap (Harbor dataset). Title: Update docstrings and add type hints
The task
**Title:** Update docstrings and add type hints
Part of scalingX/lifesci-single-cell-spatial-swe-envs-nocap.