someX, someY = 2, 3
currentAxis = plt.gca()
currentAxis.add_patch(Rectangle((someX - 0.5, someY - 0.5), 1, 1, facecolor
    ='grey'))
How to draw a rectangle over a specific region in a matplotlib graph