Rotate into portrait mode

Is there a way to rotate the screen? The library has functions for flipping and mirroring, but I don’t see how to rotate. I want to use the OLED in portrait mode.

Any help would be appreciated.
Thanks,
Robert