def plot_segmentlist(self, segmentlist, y=None, height=<NUM_LIT>, label=None,<EOL>collection=True, rasterized=None, **kwargs):
<EOL>facecolor = kwargs.pop('<STR_LIT>', kwargs.pop('<STR_LIT>', '<STR_LIT>'))<EOL>if is_color_like(facecolor):<EOL><INDENT>kwargs.setdefault('<STR_LIT>', tint(facecolor, factor=<NUM_LIT>))<EOL><DEDENT>if y is None:<EOL><INDENT>y = self.get_next_y()<EOL><DEDENT>patches = [SegmentRectangle(seg, y, height=height, facecolor=facecolor,<EOL>**kwargs) for seg in segmentlist]<EOL>if collection:  <EOL><INDENT>coll = PatchCollection(patches, match_original=patches,<EOL>zorder=kwargs.get('<STR_LIT>', <NUM_LIT:1>))<EOL>coll.set_rasterized(rasterized)<EOL>coll._ignore = collection == '<STR_LIT:ignore>'<EOL>coll._ypos = y<EOL>out = self.add_collection(coll)<EOL>if label is None:<EOL><INDENT>label = coll.get_label()<EOL><DEDENT>coll.set_label(to_string(label))<EOL><DEDENT>else:<EOL><INDENT>out = []<EOL>for patch in patches:<EOL><INDENT>patch.set_label(label)<EOL>patch.set_rasterized(rasterized)<EOL>label = '<STR_LIT>'<EOL>out.append(self.add_patch(patch))<EOL><DEDENT><DEDENT>self.autoscale(enable=None, axis='<STR_LIT>', tight=False)<EOL>return out<EOL>
Plot a `~gwpy.segments.SegmentList` onto these axes

        Parameters
        ----------
        segmentlist : `~gwpy.segments.SegmentList`
            list of segments to display

        y : `float`, optional
            y-axis value for new segments

        collection : `bool`, default: `True`
            add all patches as a
            `~matplotlib.collections.PatchCollection`, doesn't seem
            to work for hatched rectangles

        label : `str`, optional
            custom descriptive name to print as y-axis tick label

        **kwargs
            any other keyword arguments acceptable for
            `~matplotlib.patches.Rectangle`

        Returns
        -------
        collection : `~matplotlib.patches.PatchCollection`
            list of `~matplotlib.patches.Rectangle` patches