

def plot_evoked(evoked, picks=None, exclude='bads', unit=True, show=True, ylim=None, xlim='tight', proj=False, hline=None, units=None, scalings=None, titles=None, axes=None, gfp=False, window_title=None, spatial_colors=False):
    'Plot evoked data using butteryfly plots\n\n    Left click to a line shows the channel name. Selecting an area by clicking\n    and holding left mouse button plots a topographic map of the painted area.\n\n    Note: If bad channels are not excluded they are shown in red.\n\n    Parameters\n    ----------\n    evoked : instance of Evoked\n        The evoked data\n    picks : array-like of int | None\n        The indices of channels to plot. If None show all.\n    exclude : list of str | \'bads\'\n        Channels names to exclude from being shown. If \'bads\', the\n        bad channels are excluded.\n    unit : bool\n        Scale plot with channel (SI) unit.\n    show : bool\n        Show figure if True.\n    ylim : dict | None\n        ylim for plots (after scaling has been applied). e.g.\n        ylim = dict(eeg=[-20, 20])\n        Valid keys are eeg, mag, grad, misc. If None, the ylim parameter\n        for each channel equals the pyplot default.\n    xlim : \'tight\' | tuple | None\n        xlim for plots.\n    proj : bool | \'interactive\'\n        If true SSP projections are applied before display. If \'interactive\',\n        a check box for reversible selection of SSP projection vectors will\n        be shown.\n    hline : list of floats | None\n        The values at which to show an horizontal line.\n    units : dict | None\n        The units of the channel types used for axes lables. If None,\n        defaults to `dict(eeg=\'uV\', grad=\'fT/cm\', mag=\'fT\')`.\n    scalings : dict | None\n        The scalings of the channel types to be applied for plotting. If None,`\n        defaults to `dict(eeg=1e6, grad=1e13, mag=1e15)`.\n    titles : dict | None\n        The titles associated with the channels. If None, defaults to\n        `dict(eeg=\'EEG\', grad=\'Gradiometers\', mag=\'Magnetometers\')`.\n    axes : instance of Axis | list | None\n        The axes to plot to. If list, the list must be a list of Axes of\n        the same length as the number of channel types. If instance of\n        Axes, there must be only one channel type plotted.\n    gfp : bool | \'only\'\n        Plot GFP in green if True or "only". If "only", then the individual\n        channel traces will not be shown.\n    window_title : str | None\n        The title to put at the top of the figure.\n    spatial_colors : bool\n        If True, the lines are color coded by mapping physical sensor\n        coordinates into color values. Spatially similar channels will have\n        similar colors. Bad channels will be dotted. If False, the good\n        channels are plotted black and bad channels red. Defaults to False.\n\n\n    Returns\n    -------\n    fig : instance of matplotlib.figure.Figure\n        Figure containing the butterfly plots.\n    '
    return _plot_evoked(evoked=evoked, picks=picks, exclude=exclude, unit=unit, show=show, ylim=ylim, proj=proj, xlim=xlim, hline=hline, units=units, scalings=scalings, titles=titles, axes=axes, plot_type='butterfly', gfp=gfp, window_title=window_title, spatial_colors=spatial_colors, selectable=True)

dataset/ETHPy150Open mne-tools/mne-python/mne/viz/evoked.py plot_evoked/original