'Plot the dipole amplitudes as a function of time.
Parameters
color: matplotlib Color
Color to use for the trace.
show : bool
Show figure if True.
Returns
fig : matplotlib.figure.Figure
The figure object containing the plot.'

def plot_amplitudes(self, color='k', show=True):

    from .viz import plot_dipole_amplitudes
    return plot_dipole_amplitudes([self], [color], show)
