title: name "plot" is not defined
body: <p>I'm trying to plot some data using matplotlib with the code below.</p>
  
  <pre><code>import matplotlib.pyplot as plt
  import numpy as np
  data_x = np.linspace(0, 10, 100)
  data_y = 10 * np.exp(-data_x)
  np.savetxt('tabelle1.txt', np.column_stack([data_x, data_y]), header='U I')
  x, y = np.genfromtxt('tabelle1', unpack=True)
  plt.plot(x, y, 'rx')
  plt.xlabel(r'$x$')
  plt.ylabel(r'$y$')
  plt.yscale('log')
  plt.tight_layout()
  plt.savefig('loesung.pdf')
  </code></pre>
  
  <p>However, this generates an error saying <code>NameError: name plot is not defined</code>. </p>
  
  <p>How can I fix this?</p>