title: Plotting data from csv using matplotlib.pyplot
body: <p>I am trying to follow a tutorial on youtube, now in the tutorial they plot some standard text files using matplotlib.pyplot, I can achieve this easy enough, however I am now trying to perform the same thing using some csvs I have of real data.</p>
  
  <p>The code I am using is  import matplotlib.pyplot as plt
      import csv
      #import numpy as np</p>
  
  <pre><code>with open(r"Example RFI regression axis\Delta RFI.csv") as x, open(r"Example RFI regression axis\strikerate.csv") as y:
      readx = csv.reader(x)
      ready = csv.reader(y)
  
      plt.plot(readx,ready)
  
      plt.title ('Test graph')
      plt.xlabel('x axis')
      plt.ylabel('y axis')
  
      plt.show()
  </code></pre>
  
  <p>The traceback I receive is long</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\V4 code snippets\matplotlib_test.py", line 11, in &lt;module&gt;
      plt.plot(readx,ready)
    File "C:\Python27\lib\site-packages\matplotlib\pyplot.py", line 2832, in plot
      ret = ax.plot(*args, **kwargs)
    File "C:\Python27\lib\site-packages\matplotlib\axes.py", line 3997, in plot
      self.add_line(line)
    File "C:\Python27\lib\site-packages\matplotlib\axes.py", line 1507, in add_line
      self._update_line_limits(line)
    File "C:\Python27\lib\site-packages\matplotlib\axes.py", line 1516, in _update_line_limits
      path = line.get_path()
    File "C:\Python27\lib\site-packages\matplotlib\lines.py", line 677, in get_path
      self.recache()
    File "C:\Python27\lib\site-packages\matplotlib\lines.py", line 401, in recache
      x = np.asarray(xconv, np.float_)
    File "C:\Python27\lib\site-packages\numpy\core\numeric.py", line 320, in asarray
      return array(a, dtype, copy=False, order=order)
  TypeError: float() argument must be a string or a number
  </code></pre>
  
  <p>Please advise what I need to do, I realise this is probably very easy to most seasoned coders. Kind regards SMNALLY</p>