title: Drawing grid pattern in matplotlib
body: <p>I would like to draw a sketch like the one below, using python with matplotlib. I guess making a grid is not so hard, but what about coloring certain squares in a specific way?</p>
  
  <p><img src="https://i.stack.imgur.com/dYOfy.png" alt="squares"></p>