@staticmethod
    def rotate(x, y, theta, xorigin=0., yorigin=0.):
        theta = -theta * np.pi / 180.
        xrot = xorigin + np.cos(theta) * (x - xorigin) - np.sin(theta) * \
                                                         (y - yorigin)
        yrot = yorigin + np.sin(theta) * (x - xorigin) + np.cos(theta) * \
                                                         (y - yorigin)
        return xrot, yrot
Ensure that the public pages look the same as their draft versions.
dataset/ETHPy150Open modflowpy/flopy/flopy/utils/reference.py/SpatialReference.rotate--crossover with--dataset/ETHPy150Open divio/django-cms/cms/management/commands/subcommands/moderator.py/ModeratorOnCommand.handle