title: How to restore package method I overwrote by mistake?
body: <p>I overwrote by mistake pyplot.title function with a string, and don't seem to be able to recover it without restarting the kernel (using Spyder IDE). Is there a way to reload the module?</p>
  <pre><code>&gt; import matplotlib.pyplot as plt
  &gt; plt.title # plt.title is a function, as expected
  &lt;function matplotlib.pyplot.title(label, fontdict=None, loc=None, pad=None, *, y=None, **kwargs)&gt;
  </code></pre>
  <p>My mistake (happens often to me, as I am used to a different language):</p>
  <pre><code>&gt; plt.title = 'test'
  &gt; plt.title # due to my mistake plt.title is now a string:
  'test'
  </code></pre>
  <p>Attempt to reload the module didn't result in a change in plt.title:</p>
  <pre><code>&gt; import matplotlib.pyplot as plt
  &gt; plt.title
  'test'
  </code></pre>
  <p>Deleting plt seems to remove the package, but after reloading pyplot, the plt.title is still a string:</p>
  <pre><code>&gt; del plt
  &gt; plt
  NameError: name 'plt' is not defined
  &gt; plt.title
  NameError: name 'plt' is not defined
  &gt; import matplotlib.pyplot as plt
  &gt; plt.title 
  'test'
  </code></pre>
  <p>Can I recover the plt.title function without restarting the kernel?</p>