title: matplotlib 'int' object not callable with basic plot
body: <p>I'm just starting to learn how to use mpl, and I'm getting a weird 'int not callable' error.</p>
  
  <p><code>x = np.linspace(0, 10, 100)
  plt.plot(x, np.sin(x))
  plt.xlim = -1, 11
  plt.ylim = -1.5, 1.5</code></p>
  
  <pre><code>TypeError: 'int' object is not callable
  </code></pre>
  
  <p>Anybody know why this could be? It's totally perplexing to me. Here's an image of the error.</p>
  
  <p><a href="https://i.stack.imgur.com/SdRUG.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SdRUG.jpg" alt="enter image description here"></a></p>
  
  <p>EDIT: x was defined as above in a different cell, to clarify.</p>