def plot_fracs(self, Q=None, ax=None, fignum=None):
from ..plotting import Tango<EOL>Tango.reset()<EOL>col = Tango.nextMedium()<EOL>if ax is None:<EOL><INDENT>fig = pylab.figure(fignum)<EOL>ax = fig.add_subplot(<NUM_LIT>)<EOL><DEDENT>if Q is None:<EOL><INDENT>Q = self.Q<EOL><DEDENT>ticks = numpy.arange(Q)<EOL>bar = ax.bar(ticks - <NUM_LIT>, self.fracs[:Q], color=col)<EOL>ax.set_xticks(ticks, map(lambda x: r"<STR_LIT>".format(x), ticks + <NUM_LIT:1>))<EOL>ax.set_ylabel("<STR_LIT>")<EOL>ax.set_xlabel("<STR_LIT>")<EOL>ax.set_ylim(<NUM_LIT:0>, ax.get_ylim()[<NUM_LIT:1>])<EOL>ax.set_xlim(ticks.min() - <NUM_LIT>, ticks.max() + <NUM_LIT>)<EOL>try:<EOL><INDENT>pylab.tight_layout()<EOL><DEDENT>except:<EOL><INDENT>pass<EOL><DEDENT>return bar<EOL>
Plot fractions of Eigenvalues sorted in descending order.