How to save figure in python?

ipython
plot

#1

I have plot one figure in Ipython notebook and I want to save it in my desktop .

my plot

fig = plt.figure()
ax = fig.add_subplot(1, 1, 1)
rect = plt.Rectangle((0.2, 0.75), 0.4, 0.15, color='k', alpha=0.3)
circ = plt.Circle((0.7, 0.2), 0.15, color='b', alpha=0.3)
pgon = plt.Polygon([[0.15, 0.15], [0.35, 0.4], [0.2, 0.6]],
color='g', alpha=0.5)

ax.add_patch(rect)
ax.add_patch(circ)
ax.add_patch(pgon)

I have used the function savefig but there is not figure corresponding to this figure.

plt.savefig('C:\Users\hp pc\Desktop.png')

#2

Works fine on mine is the filepath correct?