PNG output and clipping

Hello,

I am having a problem with imshow and PNG output. The following code can reproduce the problem:

···

---

import matplotlib
matplotlib.use('Agg')
from matplotlib.pyplot import *

import numpy as np

image = np.random.random((100,100))

fig = figure(figsize=(4,4))
ax = fig.add_subplot(111)
ax.imshow(image,interpolation='nearest')
fig.savefig('plot.png',dpi=150)

---

If you zoom in to the top of the box, you can see the image poking out of the axes. The effect isn't obvious in this image at normal zoom, but I've seen cases where it is more obvious, for example if the image is quite dark and a white frame is being used, in which case it can look messy.

Is this a bug with the clipping?

Thanks,

Thomas