def _add_nave(ax, nave):
    """Add nave to axes."""
    if nave is not None:
        ax.annotate('N$_{\\mathrm{ave}}$=%d' % nave, ha='left', va='bottom',
            xy=(0, 1), xycoords='axes fraction', xytext=(0, 5), textcoords=
            'offset pixels')
