title: How to plot pixels instead of points in matplotlib?
body: <p>I have a set of points {(x1,y1),(x2,y2),....,(xn,yn)} whit x_i and y_i integers for all i. I wish to plot them, but instead of points I'd like them to be square pixels with center in the point and side length 1, starting 1/2 to the left of the point and ending 1/2 to the right...For example, with the point (1,1) should be: <a href="https://i.stack.imgur.com/18AYa.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/18AYa.jpg" alt="point (1,1)"></a></p>