Shifting axes by pixels not working

The link above shows a different graph, when plotted, as the example shows on the site.

Why is this?