title: Scatter() takes at least 2 arguments (1 given)
body: <p>I'm new to this and I'm trying to represent a structured array, npy file as a scatter plot. I'm not entirely sure what my other argument should be. I was thinking that I should span out my values for <code>x</code> and <code>y</code>, but I am not sure.</p>
  
  <pre><code>import matplotlib.pyplot as plt
  import numpy as np
  import os
  
  path = '/users/username/Desktop/untitled folder/python     files/MSII_phasespace/'
  
  os.chdir( path )
  
  data = np.load('msii_phasespace.npy',mmap_mode='r')
  
  # data.size: 167197
  # data.shape: (167197,)
  # data.dtype: dtype([('x', '&lt;f4'), ('y', '&lt;f4'), ('z', '&lt;f4'),
    # ('velx', '&lt;f4'), ('vely', '&lt;f4'), ('velz', '&lt;f4'), ('m200', '&lt;f4')])
  
  plt.title ("MS II data structure")
  plt.xlabel(r'$\Omega_{\mu \nu}$')
  plt.ylabel(r'$\Omega^{\mu \nu}$')
  
  plt.scatter(data)
  plt.show()
  </code></pre>
  
  <p>Inputting this outputs the error:</p>
  
  <blockquote>
    <p><code>TypeError: scatter() takes at least 2 arguments (1 given)</code></p>
  </blockquote>