title: Error plot str' object is not callable python
body: <p><img src="https://i.stack.imgur.com/C7rZN.png" alt="enter image description here">   </p>
  
  <p>I am 
      trying to  create a plot with titles but getting this error I am using spyder 3.7</p>
  
  <p>Error:</p>
  
  <pre><code>   plt.title("Year vs Population in Bulgaria")
  
  TypeError: 'str' object is not callable 
  </code></pre>
  
  <p>Code:</p>
  
  <pre><code>import matplotlib.pyplot as plt
  
  years = [1983, 1984, 1985, 1986, 1987]
  total_populations = [8939007, 8954518, 8960387, 8956741, 8943721]
  
  plt.plot(years, total_populations)
  plt.title("Year vs Population in Bulgaria")
  plt.xlabel("Year")
  plt.ylabel("Total Population")
  plt.show()
  </code></pre>
  
  <p>It should show the title. I have removed and use it other options but I still have issues I cant figure out</p>