title: Choosing marker size in Matplotlib
body: <p>I am doing a scatter plot with square marker in matplotlib like this one: </p>
  
  <p><img src="https://i.stack.imgur.com/tohBs.png" alt="small_marker">. </p>
  
  <p>I want to achieve something like this:</p>
  
  <p><img src="https://i.stack.imgur.com/LTuvR.png" alt="enter image description here"></p>
  
  <p>Which means I have to adjust the marker size and the figure size/ratio in such a way that there are no white space between markers. Also there should be a marker per index unit (<em>x</em> and <em>y</em> are both integers) so if <em>y</em> goes from 60 to 100, there should be 40 markers in <em>y</em> direction. At the moment I am tuning it manually. Any idea on what is the best way to achieve this?</p>