Making the example more PEP8 compatible.
Fixed the names of the spatial data fields, xs and ys.