@staticmethod<EOL><INDENT>def contour(c, subsample=<NUM_LIT:1>, size=<NUM_LIT:10>, color='<STR_LIT:g>'):<DEDENT>
if not isinstance(c, Contour):<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>for i in range(c.num_pixels)[<NUM_LIT:0>::subsample]:<EOL><INDENT>plt.scatter(c.boundary_pixels[i,<NUM_LIT:1>], c.boundary_pixels[i,<NUM_LIT:0>], s=size, c=color)<EOL><DEDENT>
Draws a contour on the current plot by scattering points.

        Parameters
        ----------
        c : :obj:`autolab_core.Contour`
            contour to draw
        subsample : int
            subsample rate for boundary pixels
        size : int
            size of scattered points
        color : :obj:`str`
            color of box