'Rotate whole 2D graph in Matplotlib

Have very simple 2D graph, couple of lines, some axis, title

x = [1, 2, 3]
y1 = [3,5,4]
y2 = [4,3,5]
plt.plot(x, y1, 'g-')
plt.plot(x, y2, 'b.')
plt.title('Super')

plt.show()

Could I with simple command rotate whole graph? Around the center if possible?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source