title: How to make a meshgrid with holes in numpy?
body: <p>I understand how to make a simple meshgrid like this one:</p>
  <pre><code>low1 = -1; high1 = 1;
  n_p = 20
  range1 = np.linspace(low1, high1,n_p/2, endpoint=False)
  X = np.dstack(np.meshgrid(range1, range1)).reshape(-1, 2)
  </code></pre>
  <p><a href="https://i.stack.imgur.com/QA6AT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QA6AT.png" alt="enter image description here" /></a></p>
  <p>But what is the best way to make a meshgrid like on the picture below?</p>
  <p><a href="https://i.stack.imgur.com/8juR0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8juR0.png" alt="enter image description here" /></a></p>
  <p>Right now I am just building 8 rectangles and stack them. What is a better way of doing it?</p>