title: How to maximize a plt.show() window using Python
body: <p>Just for curiosity I would like to know how to do this in the code below. I have been searching for an answer but is useless.</p>
  
  <pre><code>import numpy as np
  import matplotlib.pyplot as plt
  data=np.random.exponential(scale=180, size=10000)
  print ('el valor medio de la distribucion exponencial es: ')
  print np.average(data)
  plt.hist(data,bins=len(data)**0.5,normed=True, cumulative=True, facecolor='red', label='datos tamano paqutes acumulativa', alpha=0.5)
  plt.legend()
  plt.xlabel('algo')
  plt.ylabel('algo')
  plt.grid()
  plt.show()
  </code></pre>