That's really sad if that's it's regular tub, honestly. There's no way it can easily move around at all, all squished in there like that... that can't be healthy.
I know snakes like small dark places etc etc, but that would be like being forced to live in your bathtub....