def plot_cap_exposures_net(net_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>cap_names = CAP_BUCKETS.keys()<EOL>for i in range(len(net_exposures)):<EOL><INDENT>ax.plot(net_exposures[i], color=color_list[i], alpha=<NUM_LIT>,<EOL>label=cap_names[i])<EOL><DEDENT>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 line graphs

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