There are two examples of plots created with matplotlib (both from matplotlib webpage):
The first one (right). The second one (wrong).
The corners of the border in the second one (when highly magnified) are missing a tiny piece. The line ends where is center of the perpendicular line, not where is the further edge.

However, even when I use the source code for the image which is right on web:
import matplotlib.pyplot as plt
import numpy as np
x, y = np.random.randn(2, 100)
fig = plt.figure()
ax1 = fig.add_subplot(211)
ax1.xcorr(x, y, usevlines=True, maxlags=50, normed=True, lw=2)
ax1.grid(True)
ax1.axhline(0, color='black', lw=2)
ax2 = fig.add_subplot(212, sharex=ax1)
ax2.acorr(x, usevlines=True, normed=True, maxlags=50, lw=2)
ax2.grid(True)
ax2.axhline(0, color='black', lw=2)
plt.show()
I get wrong result. Why is it so? Some bug in my version of matplotlib/python? Something else?
I use python 3.4.3 and matplotlib 1.3.1.
Thanks in advance.