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 T
(self, color="k", show=True)
| 411 | return labels |
| 412 | |
| 413 | def plot_amplitudes(self, color="k", show=True): |
| 414 | """Plot the dipole amplitudes as a function of time. |
| 415 | |
| 416 | Parameters |
| 417 | ---------- |
| 418 | color : matplotlib color |
| 419 | Color to use for the trace. |
| 420 | show : bool |
| 421 | Show figure if True. |
| 422 | |
| 423 | Returns |
| 424 | ------- |
| 425 | fig : matplotlib.figure.Figure |
| 426 | The figure object containing the plot. |
| 427 | """ |
| 428 | return plot_dipole_amplitudes([self], [color], show) |
| 429 | |
| 430 | def __getitem__(self, item): |
| 431 | """Get a time slice. |