'add_random_rotation.
Randomly rotate an image by a random angle (-max_angle, max_angle).
Arguments:
max_angle: `float`. The maximum rotation angle.
Returns:
Nothing.'

def add_random_rotation(self, max_angle=20.0):

    self.methods.append(self._random_rotation)
    self.args.append([max_angle])
