In [1]:
import matplotlib.pyplot as plt; plt.rcdefaults()
import numpy as np
import matplotlib.pyplot as plt

In [17]:
stats = {'Women':30, 'Men':56, 'Unisex':1.6, 'Not Available':10}

In [18]:
plt.bar(range(len(stats)), stats.values(), align='center')
plt.xticks(range(len(stats)), stats.keys())
plt.xlabel('Gender')
plt.ylabel('% in bibfile for this thesis')
plt.opac


Out[18]:
<matplotlib.text.Text at 0x41b6990>

In [21]:
plt.show(alpha=0.4)


---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-21-d5ba3c77779a> in <module>()
----> 1 plt.show(alpha=0.4)

/usr/lib64/python2.7/site-packages/matplotlib/pyplot.pyc in show(*args, **kw)
    143     """
    144     global _show
--> 145     _show(*args, **kw)
    146 
    147 

TypeError: __call__() got an unexpected keyword argument 'alpha'

In [ ]: