sq.pl.spatial_segment( TypeError: 'collection'

see here: Spatial Segment TypeError