title: Matplotlib Scatter Plot: Too Many xticks/yticks
body: <p>So using matplotlib scatter plot, i am getting a plot that looks like this:
  <a href="https://i.stack.imgur.com/SPIbe.png" rel="nofollow noreferrer">scatter plot</a></p>
  <p>I am trying to plot a long list of coordinates however it appears to be making a seperate x and y axis label for every single point in an unordered manner. I just want to to have set x and y axis labels e.g. (10,20,...,100) instead of one appearing for every point.</p>
  <pre><code>def visualise(self):
      input_file = open(&quot;textFiles/points.txt&quot;, 'r')
      xVals = []
      yVals = []
      for line in input_file:
          line = line.split(&quot;,&quot;)
          xVals.append(line[0])
          yVals.append(line[1])
  
      plt.scatter(xVals,yVals, s = 2)
      plt.show()
  </code></pre>