Improved write_points docstring