'Plot the x/y positions stored in self.coords.
Parameters
**kwargs : dict
Arguments are passed to imshow in displaying the bg image.'

def plot_clicks(self, **kwargs):

    from matplotlib.pyplot import subplots
    if (len(self.coords) == 0):
        raise ValueError('No    coordinates    found,    make    sure    you    click    on    the    image    that    is    first    shown.')
    (f, ax) = subplots()
    ax.imshow(self.imdata, extent=(0, self.xmax, 0, self.ymax), **kwargs)
    (xlim, ylim) = [ax.get_xlim(), ax.get_ylim()]
    (xcoords, ycoords) = zip(*self.coords)
    ax.scatter(xcoords, ycoords, c='r')
    ann_text = np.arange(len(self.coords)).astype(str)
    for (txt, coord) in zip(ann_text, self.coords):
        ax.annotate(txt, coord, fontsize=20, color='r')
    ax.set_xlim(xlim)
    ax.set_ylim(ylim)
    plt_show()
