Update Sgr coordinate example

This PR updates the docs example for defining a custom subclass of `SphericalCoordinatesBase`.