I'm trying to implement within some code on PyQGIS, a way to rotate the view of my mapCanvas
I want it to work the same way as the GUI present on the bottom right corner
However when I run the following code I do not get the same result as if I had manually interacted with the GUI
iface.mapCanvas().rotate(90)