Rotating axes

Folks,

I am trying to make a plot with axes rotated by 45 degrees, so that the plot looks like a romb. I set the rotating transform for the subplot, but it is still plotted in a normal orientation. Could someone tell my why the set_transform function does not work?

Many thanks,

Nick Gnedin

import matplotlib.pyplot as plt
from matplotlib.transforms import Affine2D

tr = Affine2D().rotate_deg(45)

fig = plt.figure()
ax = fig.add_subplot(111)
ax.set_transform(tr)

fig.show()