def rotate(self, angle, x=<NUM_LIT:0>, y=<NUM_LIT:0>):
self.root.set("<STR_LIT>", "<STR_LIT>" %<EOL>(self.root.get("<STR_LIT>") or '<STR_LIT>', angle, x, y))<EOL>
Rotate element by given angle around given pivot.

        Parameters
        ----------
        angle : float
            rotation angle in degrees
        x, y : float
            pivot coordinates in user coordinate system (defaults to top-left
            corner of the figure)