MCPcopy
hub / github.com/mne-tools/mne-python / plot

Method plot

mne/viz/backends/_abstract.py:1395–1400  ·  view source on GitHub ↗

Plot a curve.

(self, x, y, label, update=True, **kwargs)

Source from the content-addressed store, hash-verified

1393 self.canvas.mpl_connect(event + "_event", getattr(self, "on_" + event))
1394
1395 def plot(self, x, y, label, update=True, **kwargs):
1396 """Plot a curve."""
1397 (line,) = self.axes.plot(x, y, label=label, **kwargs)
1398 if update:
1399 self.update_plot()
1400 return line
1401
1402 def plot_time_line(self, x, label, update=True, **kwargs):
1403 """Plot the vertical line."""

Callers 15

_plot_epochs_imageFunction · 0.45
plot_epochs_psdFunction · 0.45
plot_covFunction · 0.45
plot_eventsFunction · 0.45
plot_dipole_amplitudesFunction · 0.45
plot_filterFunction · 0.45
plot_ideal_filterFunction · 0.45
plot_chpi_snrFunction · 0.45
_plot_ica_propertiesFunction · 0.45
_plot_ica_sources_evokedFunction · 0.45
_plot_ica_overlay_rawFunction · 0.45
_plot_ica_overlay_evokedFunction · 0.45

Calls 1

update_plotMethod · 0.95

Tested by 15

test_theme_colorsFunction · 0.36
_do_widget_testsFunction · 0.36
test_qt_scraperFunction · 0.36
test_plot_covFunction · 0.36
test_process_clim_plotFunction · 0.36
test_stc_mplFunction · 0.36
test_plot_epochs_basicFunction · 0.36
test_plot_epochs_colorsFunction · 0.36