(self)
return sample
Return a random sample, in stroke-3 format as used by draw_strokes.
Return a random sample, in stroke-3 format as used by draw_strokes.
Return a random sample in stroke - 3 format as used by draw_strokes .
def random_sample(self):
    """Return a random sample, in stroke-3 format as used by draw_strokes."""
    sample = np.copy(random.choice(self.strokes))
    return sample
def random_sample ( self ) : sample = np . copy ( random . choice ( self . strokes ) ) return sample