title: plt.scatter() plots behaving like plt.plot() plots in Matplotlib
body: <p>I'm trying to compare the GDP-per-capita of the world's countries' to each countries' COVID-19 death total. Every time I try to turn it into a scatter plot, it displays the same plot as would be displayed using the <code>plt.plot()</code> command. Here is my code:</p>
  <pre><code>import pandas as pd
  from matplotlib import pyplot as plt
  plt.style.use('seaborn-whitegrid')
  data = pd.read_csv(r'/Users/john.smith/covid-data.csv')
  
  gdp = data[&quot;gdp_per_capita&quot;]
  deaths = data[&quot;total_deaths&quot;]
  
  plt.scatter(gdp, deaths)
  plt.title('GDP-per-Capita Compared to COVID-19 Death Total')
  plt.xlabel('GDP-per-Capita')
  plt.ylabel('Confirmed Deaths')
  
  plt.tight_layout()
  plt.show()
  </code></pre>
  <p>While running this code, the following graph is produced. This is obviously not the scatter plot I'm trying to get, and it's worth noting that the only thing that changes when I use the <code>plt.scatter()</code> command is that the points on the plot just get very large.</p>
  <p><a href="https://i.stack.imgur.com/Ed0KZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ed0KZ.png" alt="Graph produced with faulty code" /></a></p>
  <p>I ran a test of the whole Matplotlib module entirely on a different file. When I use normal variables without importing from a CSV file, like this:</p>
  <pre><code>x = [7, 3, 8, 3]
  y = [1, 5, 7, 4]
  plt.scatter(x, y)
  </code></pre>
  <p>Then the code works perfectly fine and produces a scatter plot. I have been digging for hours online to try and find a solution, and have tried to use other methods of importing CSVs or creating scatter plots but nothing is working. Thank you for any tips.</p>