def plot_cap_exposures_gross(gross_exposures, ax=None):
if ax is None:<EOL><INDENT>ax = plt.gca()<EOL><DEDENT>color_list = plt.cm.gist_rainbow(np.linspace(<NUM_LIT:0>, <NUM_LIT:1>, <NUM_LIT:5>))<EOL>ax.stackplot(gross_exposures[<NUM_LIT:0>].index, gross_exposures,<EOL>labels=CAP_BUCKETS.keys(), colors=color_list, alpha=<NUM_LIT>,<EOL>baseline='<STR_LIT>')<EOL>ax.axhline(<NUM_LIT:0>, color='<STR_LIT:k>', linestyle='<STR_LIT:->')<EOL>ax.set(title='<STR_LIT>',<EOL>ylabel='<STR_LIT>')<EOL>return ax<EOL>
Plots outputs of compute_cap_exposures as area charts

Parameters
----------
gross_exposures : array
    Arrays of gross market cap exposures (output of compute_cap_exposures).