title: How to remove ticks from multiple images in matplotlib?
body: <pre class="lang-py prettyprint-override"><code>def plot_random_grid(img,num_rows=2,num_cols=2,width=None, height=None):
      
  
      fig, axs = plt.subplots(num_rows, num_cols)
  
      seed=1
  
      for i in range(num_rows):
          for j in range(num_cols):
  
              axs[i][j].imshow( random_crop(img,width=width,height=height,seed=seed))
              
              axs[i][j].set_title(&quot;Seed: %s (100x100)&quot; % (seed))
              
              seed += 1
              plt.axis(&quot;off&quot;)
              
  plot_random_grid(img_cv,num_rows=2,num_cols=3,width=100,height=100)  
  </code></pre>
  <p><img src="https://i.stack.imgur.com/ufASn.png" alt="enter image description here" /></p>